From a5485a46cb68b0da4f7b612a2bd248e09aa7681c Mon Sep 17 00:00:00 2001 From: Chen John L Date: Fri, 21 Apr 2017 19:54:10 +0800 Subject: [PATCH] fixed the module for pixhost --- gallery_dl/extractor/imagehosts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 gallery_dl/extractor/imagehosts.py diff --git a/gallery_dl/extractor/imagehosts.py b/gallery_dl/extractor/imagehosts.py old mode 100644 new mode 100755 index 02e185ab9e..d2527f4c86 --- a/gallery_dl/extractor/imagehosts.py +++ b/gallery_dl/extractor/imagehosts.py @@ -312,8 +312,8 @@ class PixhostImageExtractor(ImagehostImageExtractor): cookies = {"pixhostads": "1", "pixhosttest": "1"} def get_info(self, page): - url , pos = text.extract(page, "src: '", "'") - filename, pos = text.extract(page, "title: '", "'", pos) + url , pos = text.extract(page, "class=\"image-img\" src=\"", "\"") + filename, pos = text.extract(page, "alt=\"", "\"", pos) return url, filename