1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 12:42:29 +01:00

[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
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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="', '"')
]