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

pull/4855/head
Mike Fährmann 10 months ago
parent fc1101779c
commit 8ac68ffba2
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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

Loading…
Cancel
Save