[youjizz] Fix extraction (closes #24181)
authorSergey M․ <dstftw@gmail.com>
Sat, 29 Feb 2020 14:58:22 +0000 (21:58 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 29 Feb 2020 14:58:22 +0000 (21:58 +0700)
youtube_dl/extractor/youjizz.py

index dff69fcb7aca250373fc0e70b2f8278ed2661755..88aabd272c98e944523f3b333174342ba23c9fe1 100644 (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: