aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/fox9.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-11-24 19:00:56 +0100
committerRemita Amine <remitamine@gmail.com>2017-11-24 19:00:56 +0100
commitc6c6a64aa58af54d3f1d4ebdd21547e708b29bf6 (patch)
treea09d405a19fb6ee8e6fc13271005916ec49c1b4c /youtube_dl/extractor/fox9.py
parente0a8686f48d10ed86f7be92132dd37481981adf3 (diff)
[fox9] fix extraction
Diffstat (limited to 'youtube_dl/extractor/fox9.py')
-rw-r--r--youtube_dl/extractor/fox9.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/extractor/fox9.py b/youtube_dl/extractor/fox9.py
index 56d9975d0..17dfffa7b 100644
--- a/youtube_dl/extractor/fox9.py
+++ b/youtube_dl/extractor/fox9.py
@@ -2,7 +2,6 @@
from __future__ import unicode_literals
from .anvato import AnvatoIE
-from ..utils import js_to_json
class FOX9IE(AnvatoIE):
@@ -34,9 +33,9 @@ class FOX9IE(AnvatoIE):
video_id = self._parse_json(
self._search_regex(
- r'AnvatoPlaylist\s*\(\s*(\[.+?\])\s*\)\s*;',
+ r"this\.videosJson\s*=\s*'(\[.+?\])';",
webpage, 'anvato playlist'),
- video_id, transform_source=js_to_json)[0]['video']
+ video_id)[0]['video']
return self._get_anvato_videos(
'anvato_epfox_app_web_prod_b3373168e12f423f41504f207000188daf88251b',