mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-23 08:12:28 +00:00
parent
b3ee552e4b
commit
0bbcc8a10a
1 changed files with 1 additions and 1 deletions
|
@ -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)(?:TDIPlayerOptions|playerOptions)\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…
Reference in a new issue