From d1cd9acf54c46c63e114998d37de87d1cd71cc65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 6 Dec 2016 10:03:33 +0100 Subject: [PATCH] [pixhost] adjust to new site layout --- gallery_dl/extractor/imagehosts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gallery_dl/extractor/imagehosts.py b/gallery_dl/extractor/imagehosts.py index 9cb20734..f889052f 100644 --- a/gallery_dl/extractor/imagehosts.py +++ b/gallery_dl/extractor/imagehosts.py @@ -286,14 +286,14 @@ class PixhostImageExtractor(ImagehostImageExtractor): category = "pixhost" pattern = [(r"(?:https?://)?((?:www\.)?pixhost\.org/show/" r"\d+/(\d+)_[^/]+)")] + https = True params = None cookies = {"pixhostads": "1", "pixhosttest": "1"} def get_info(self, page): - filename, pos = text.extract(page, '
\n

', '

') - url , pos = text.extract(page, '