Fix extraction for iprima
The variable name has been changed.
This commit is contained in:
parent
286b416e96
commit
8ea62e969e
@ -65,7 +65,7 @@ class IPrimaIE(InfoExtractor):
|
|||||||
|
|
||||||
options = self._parse_json(
|
options = self._parse_json(
|
||||||
self._search_regex(
|
self._search_regex(
|
||||||
r'(?s)var\s+playerOptions\s*=\s*({.+?});',
|
r'(?s)var\s+TDIPlayerOptions\s*=\s*({.+?});\s*\]\]',
|
||||||
playerpage, 'player options', default='{}'),
|
playerpage, 'player options', default='{}'),
|
||||||
video_id, transform_source=js_to_json, fatal=False)
|
video_id, transform_source=js_to_json, fatal=False)
|
||||||
if options:
|
if options:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user