1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 07:56:49 +00:00

[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 @@ class YouJizzIE(InfoExtractor):
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: