1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-22 11:57:50 +08:00

[fox] update test

This commit is contained in:
remitamine 2016-02-09 17:30:42 +01:00
parent d413095f7e
commit 5e3a6fec33

View File

@ -9,6 +9,7 @@ class FOXIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?fox\.com/watch/(?P<id>[0-9]+)' _VALID_URL = r'https?://(?:www\.)?fox\.com/watch/(?P<id>[0-9]+)'
_TEST = { _TEST = {
'url': 'http://www.fox.com/watch/255180355939/7684182528', 'url': 'http://www.fox.com/watch/255180355939/7684182528',
'md5': 'ebd296fcc41dd4b19f8115d8461a3165',
'info_dict': { 'info_dict': {
'id': '255180355939', 'id': '255180355939',
'ext': 'mp4', 'ext': 'mp4',
@ -17,10 +18,6 @@ class FOXIE(InfoExtractor):
'duration': 129, 'duration': 129,
}, },
'add_ie': ['ThePlatform'], 'add_ie': ['ThePlatform'],
'params': {
# m3u8 download
'skip_download': True,
},
} }
def _real_extract(self, url): def _real_extract(self, url):