[youjizz] Fix extraction (closes #24181)

This commit is contained in:
Sergey M․ 2020-02-29 21:58:22 +07:00
parent 7947a1f7db
commit 886d985959
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

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