summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/weasyl.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/weasyl.py')
-rw-r--r--gallery_dl/extractor/weasyl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/weasyl.py b/gallery_dl/extractor/weasyl.py
index 599a175..eca4f1a 100644
--- a/gallery_dl/extractor/weasyl.py
+++ b/gallery_dl/extractor/weasyl.py
@@ -225,7 +225,7 @@ class WeasylFavoriteExtractor(WeasylExtractor):
pos = page.index('id="favorites-content"')
if not owner_login:
- owner_login = text.extract(page, '<a href="/~', '"')[0]
+ owner_login = text.extr(page, '<a href="/~', '"')
for submitid in text.extract_iter(page, "/submissions/", "/", pos):
if submitid == lastid: