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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/inkbunny.py b/gallery_dl/extractor/inkbunny.py
index ded8906..706cd34 100644
--- a/gallery_dl/extractor/inkbunny.py
+++ b/gallery_dl/extractor/inkbunny.py
@@ -236,7 +236,7 @@ class InkbunnySearchExtractor(InkbunnyExtractor):
# get user_id from user profile
url = "{}/{}".format(self.root, favsby)
page = self.request(url).text
- user_id = text.extract(page, "?user_id=", "'")[0]
+ user_id = text.extr(page, "?user_id=", "'")
params["favs_user_id"] = user_id.partition("&")[0]
return self.api.search(params)