[youjizz] Fix extraction (closes #24181)

pull/24907/head
Sergey M․ 5 years ago
parent 7947a1f7db
commit 886d985959
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -44,7 +44,7 @@ class YouJizzIE(InfoExtractor):
encodings = self._parse_json( encodings = self._parse_json(
self._search_regex( self._search_regex(
r'encodings\s*=\s*(\[.+?\]);\n', webpage, 'encodings', r'[Ee]ncodings\s*=\s*(\[.+?\]);\n', webpage, 'encodings',
default='[]'), default='[]'),
video_id, fatal=False) video_id, fatal=False)
for encoding in encodings: for encoding in encodings:

Loading…
Cancel
Save