[pixiv] fix parsing of illust_ids
This commit is contained in:
@@ -96,9 +96,9 @@ class PixivExtractor(AsynchronousExtractor):
|
|||||||
needle = ('<li class="image-item "><a href="'
|
needle = ('<li class="image-item "><a href="'
|
||||||
'/member_illust.php?mode=medium&illust_id=')
|
'/member_illust.php?mode=medium&illust_id=')
|
||||||
params = {"id": self.artist_id, "p": 1}
|
params = {"id": self.artist_id, "p": 1}
|
||||||
pos = 0
|
|
||||||
while True:
|
while True:
|
||||||
text = self.request(self.member_url, params=params).text
|
text = self.request(self.member_url, params=params).text
|
||||||
|
pos = 0
|
||||||
found = 0
|
found = 0
|
||||||
while True:
|
while True:
|
||||||
illust_id, pos = self.extract(text, needle, '"', pos)
|
illust_id, pos = self.extract(text, needle, '"', pos)
|
||||||
|
|||||||
Reference in New Issue
Block a user