1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00
This commit is contained in:
Deer-Spangle 2024-08-31 15:10:02 +01:00
parent b1b01f56af
commit 311272f55a

View File

@ -172,7 +172,11 @@ class WeasylFavoriteExtractor(WeasylExtractor):
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"