diff options
author | Michal Čihař <michal@cihar.com> | 2017-01-31 07:59:55 +0100 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-02-03 03:04:33 +0700 |
commit | 0bbcc8a10a4bd339540bf149dd263419fd8b6e66 (patch) | |
tree | 2ffd4980eb5ad6c6daebff9444e7cbae842a7363 | |
parent | b3ee552e4b918fb720111b23147e24fa5475a74b (diff) |
[iprima] Fix extraction (closes #11920, closes #11896)
-rw-r--r-- | youtube_dl/extractor/iprima.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py index da2cdc656..0fe576883 100644 --- a/youtube_dl/extractor/iprima.py +++ b/youtube_dl/extractor/iprima.py @@ -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: |