summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/vanillarock.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/vanillarock.py')
-rw-r--r--gallery_dl/extractor/vanillarock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/vanillarock.py b/gallery_dl/extractor/vanillarock.py
index 3d934b2..6b1178e 100644
--- a/gallery_dl/extractor/vanillarock.py
+++ b/gallery_dl/extractor/vanillarock.py
@@ -44,7 +44,7 @@ class VanillarockPostExtractor(VanillarockExtractor):
img = extr('<div class="main-img">', '</div>')
if not img:
break
- imgs.append(text.extract(img, 'href="', '"')[0])
+ imgs.append(text.extr(img, 'href="', '"'))
data = {
"count": len(imgs),
@@ -89,5 +89,5 @@ class VanillarockTagExtractor(VanillarockExtractor):
post = extr('<h2 class="entry-title">', '</h2>')
if not post:
break
- yield Message.Queue, text.extract(post, 'href="', '"')[0], data
+ yield Message.Queue, text.extr(post, 'href="', '"'), data
url = text.unescape(extr('class="next page-numbers" href="', '"'))