projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[brightcove] some improvements and fixes
[youtube-dl]
/
youtube_dl
/
extractor
/
fox.py
diff --git
a/youtube_dl/extractor/fox.py
b/youtube_dl/extractor/fox.py
index ab97b3196ce571c6d2d079d750702a3565b3d1b0..fa05af50d99ba1e580ba631717515f184bc838de 100644
(file)
--- a/
youtube_dl/extractor/fox.py
+++ b/
youtube_dl/extractor/fox.py
@@
-9,6
+9,7
@@
class FOXIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?fox\.com/watch/(?P<id>[0-9]+)'
_TEST = {
'url': 'http://www.fox.com/watch/255180355939/7684182528',
_VALID_URL = r'https?://(?:www\.)?fox\.com/watch/(?P<id>[0-9]+)'
_TEST = {
'url': 'http://www.fox.com/watch/255180355939/7684182528',
+ 'md5': 'ebd296fcc41dd4b19f8115d8461a3165',
'info_dict': {
'id': '255180355939',
'ext': 'mp4',
'info_dict': {
'id': '255180355939',
'ext': 'mp4',
@@
-17,10
+18,6
@@
class FOXIE(InfoExtractor):
'duration': 129,
},
'add_ie': ['ThePlatform'],
'duration': 129,
},
'add_ie': ['ThePlatform'],
- 'params': {
- # m3u8 download
- 'skip_download': True,
- },
}
def _real_extract(self, url):
}
def _real_extract(self, url):
@@
-29,7
+26,7
@@
class FOXIE(InfoExtractor):
release_url = self._parse_json(self._search_regex(
r'"fox_pdk_player"\s*:\s*({[^}]+?})', webpage, 'fox_pdk_player'),
release_url = self._parse_json(self._search_regex(
r'"fox_pdk_player"\s*:\s*({[^}]+?})', webpage, 'fox_pdk_player'),
- video_id)['release_url'] + '&
manifest=m3u
'
+ video_id)['release_url'] + '&
switch=http
'
return {
'_type': 'url_transparent',
return {
'_type': 'url_transparent',