1
0
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:
Mike Fährmann 2015-04-12 18:05:49 +02:00
parent ffec41f352
commit fae1b28c48

View File

@ -96,9 +96,9 @@ class PixivExtractor(AsynchronousExtractor):
needle = ('<li class="image-item "><a href="'
'/member_illust.php?mode=medium&amp;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)