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:
parent
3f73cc6855
commit
627d2141d3
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user