From f32b1a029280f1104281b3268fa15ba9414b0c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 14 Sep 2017 14:59:04 +0200 Subject: [PATCH] [imgyt] fix extraction --- gallery_dl/extractor/imagehosts.py | 7 +++---- test/test_extractors.py | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gallery_dl/extractor/imagehosts.py b/gallery_dl/extractor/imagehosts.py index 526be3f1..d7d6a5a2 100644 --- a/gallery_dl/extractor/imagehosts.py +++ b/gallery_dl/extractor/imagehosts.py @@ -76,10 +76,10 @@ class ImgytImageExtractor(ImagehostImageExtractor): https = True def get_info(self, page): - url, pos = text.extract(page, '', '', '') - url, pos = text.extract(page, 'src="', '"', pos) + url, pos = text.extract(page, " 1: