From bad623751f7a33ba8cf39e1856a0fa42dcbc99b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 10 Feb 2017 21:28:17 +0100 Subject: [PATCH] [hentaihere] transition to https --- gallery_dl/extractor/hentaihere.py | 16 ++++++++-------- gallery_dl/extractor/kissmanga.py | 1 - test/test_extractors.py | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/gallery_dl/extractor/hentaihere.py b/gallery_dl/extractor/hentaihere.py index dbea69a3..22718bb1 100644 --- a/gallery_dl/extractor/hentaihere.py +++ b/gallery_dl/extractor/hentaihere.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Mike Fährmann +# Copyright 2016-2017 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -18,11 +18,11 @@ class HentaihereMangaExtractor(hentaicdn.HentaicdnMangaExtractor): category = "hentaihere" pattern = [r"(?:https?://)?(?:www\.)?hentaihere\.com/m/S(\d+)/?$"] test = [ - ("http://hentaihere.com/m/S13812", { - "url": "167ec26c73c7d01ad8ad0a2b88257a901aa8330e", + ("https://hentaihere.com/m/S13812", { + "url": "d1ba6e28bb2162e844f8559c2b2725ba0a093559", }), - ("http://hentaihere.com/m/S7608", { - "url": "17dd982270456ce51ec7189f9e37728ef9f894c8", + ("https://hentaihere.com/m/S7608", { + "url": "6c5239758dc93f6b1b4175922836c10391b174f7", }), ] @@ -32,7 +32,7 @@ class HentaihereMangaExtractor(hentaicdn.HentaicdnMangaExtractor): def get_chapters(self): return text.extract_iter( - self.request("http://hentaihere.com/m/S" + self.gid).text, + self.request("https://hentaihere.com/m/S" + self.gid).text, '
  • \n 1: extractors = [ extr for extr in extractor.extractors()