mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[pixiv] fix parsing of illust_ids
This commit is contained in:
parent
ffec41f352
commit
fae1b28c48
@ -96,9 +96,9 @@ class PixivExtractor(AsynchronousExtractor):
|
||||
needle = ('<li class="image-item "><a href="'
|
||||
'/member_illust.php?mode=medium&illust_id=')
|
||||
params = {"id": self.artist_id, "p": 1}
|
||||
pos = 0
|
||||
while True:
|
||||
text = self.request(self.member_url, params=params).text
|
||||
pos = 0
|
||||
found = 0
|
||||
while True:
|
||||
illust_id, pos = self.extract(text, needle, '"', pos)
|
||||
|
Loading…
Reference in New Issue
Block a user