1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-04 21:05:50 +08:00

[iprima] Fix extraction (closes #11920, closes #11896)

This commit is contained in:
Michal Čihař
2017-01-31 07:59:55 +01:00
committed by motophil
Unverified
parent 0d5884b3a7
commit 1adba738f0
+1 -1
View File
@@ -65,7 +65,7 @@ class IPrimaIE(InfoExtractor):
options = self._parse_json(
self._search_regex(
r'(?s)var\s+playerOptions\s*=\s*({.+?});',
r'(?s)(?:TDIPlayerOptions|playerOptions)\s*=\s*({.+?});\s*\]\]',
playerpage, 'player options', default='{}'),
video_id, transform_source=js_to_json, fatal=False)
if options: