From c0a12416489c262fe2af45612cf4ab9942c4312a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 3 Dec 2019 16:14:05 +0100 Subject: [PATCH] [livedoor] force https:// for image URLs --- gallery_dl/extractor/livedoor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/livedoor.py b/gallery_dl/extractor/livedoor.py index 58dd7ba3..e47b7db7 100644 --- a/gallery_dl/extractor/livedoor.py +++ b/gallery_dl/extractor/livedoor.py @@ -64,7 +64,7 @@ class LivedoorExtractor(Extractor): if not src: continue if "://livedoor.blogimg.jp/" in src: - url = src.replace("-s.", ".") + url = src.replace("http:", "https:", 1).replace("-s.", ".") else: url = text.urljoin(self.root, src) name, _, ext = url.rpartition("/")[2].rpartition(".")