[xhamster] fix extraction (closes #917)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user