Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Deer-Spangle committed Aug 31, 2024
1 parent b1b01f5 commit 311272f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gallery_dl/extractor/weasyl.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ def items(self):
if self.userid is None and self.username is not None:
new_url = self.root + f"/favorites/{self.username}"
page = self.request(new_url).text
self.userid = text.extr(page, '<a class="more" href="/favorites?userid=', '&amp')
self.userid = text.extr(
page,
'<a class="more" href="/favorites?userid=',
'&amp'
)

owner_login = lastid = None
url = self.root + "/favorites"
Expand Down

0 comments on commit 311272f

Please sign in to comment.