summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/inkbunny.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/inkbunny.py')
-rw-r--r--gallery_dl/extractor/inkbunny.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gallery_dl/extractor/inkbunny.py b/gallery_dl/extractor/inkbunny.py
index 2ae8cbe..f3098f1 100644
--- a/gallery_dl/extractor/inkbunny.py
+++ b/gallery_dl/extractor/inkbunny.py
@@ -246,14 +246,12 @@ class InkbunnyFollowingExtractor(InkbunnyExtractor):
data = {"_extractor": InkbunnyUserExtractor}
while True:
- cnt = 0
for user in text.extract_iter(
page, '<a class="widget_userNameSmall" href="', '"',
page.index('id="changethumboriginal_form"')):
- cnt += 1
yield Message.Queue, self.root + user, data
- if cnt < 20:
+ if "<a title='next page' " not in page:
return
params["page"] += 1
page = self.request(url, params=params).text