[hentaicosplays] force 'https://' for download URLs

This commit is contained in:
Mike Fährmann
2023-11-26 02:08:12 +01:00
parent fc1101779c
commit 8ac68ffba2

View File

@@ -42,7 +42,7 @@ class HentaicosplaysGalleryExtractor(GalleryExtractor):
def images(self, page):
return [
(url, None)
(url.replace("http:", "https:", 1), None)
for url in text.extract_iter(
page, '<amp-img class="auto-style" src="', '"')
]