1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-01-31 11:41:35 +01:00

[xhamster] fix extraction (closes #917)

This commit is contained in:
Mike Fährmann 2020-07-29 22:51:34 +02:00
parent 3f73cc6855
commit 627d2141d3
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -146,7 +146,7 @@ class XhamsterGalleryExtractor(XhamsterExtractor):
def _data(self, url):
page = self.request(url).text
return json.loads(text.extract(
page, "window.initials =", "</script>")[0].rstrip("\n\r;"))
page, "window.initials=", "</script>")[0].rstrip("\n\r;"))
class XhamsterUserExtractor(XhamsterExtractor):