aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/espn.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-05-24 11:24:29 +0100
committerremitamine <remitamine@gmail.com>2016-05-24 11:24:29 +0100
commit277c7465f58e0ac50de0dd9ebc2083f6142e9a94 (patch)
tree887ca3330f6f548293cd570fd793a80528f9c3e4 /youtube_dl/extractor/espn.py
parenta4760d204fe4cd7592bdfc91cbf550eb985374ac (diff)
[ooyala] check manifest ext with determine_ext and update tests for related extractors
Diffstat (limited to 'youtube_dl/extractor/espn.py')
-rw-r--r--youtube_dl/extractor/espn.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/youtube_dl/extractor/espn.py b/youtube_dl/extractor/espn.py
index db4b263bc..e3575aed1 100644
--- a/youtube_dl/extractor/espn.py
+++ b/youtube_dl/extractor/espn.py
@@ -8,28 +8,24 @@ class ESPNIE(InfoExtractor):
_VALID_URL = r'https?://espn\.go\.com/(?:[^/]+/)*(?P<id>[^/]+)'
_TESTS = [{
'url': 'http://espn.go.com/video/clip?id=10365079',
+ 'md5': '60e5d097a523e767d06479335d1bdc58',
'info_dict': {
'id': 'FkYWtmazr6Ed8xmvILvKLWjd4QvYZpzG',
'ext': 'mp4',
'title': '30 for 30 Shorts: Judging Jewell',
'description': None,
},
- 'params': {
- # m3u8 download
- 'skip_download': True,
- },
+ 'add_ie': ['OoyalaExternal'],
}, {
# intl video, from http://www.espnfc.us/video/mls-highlights/150/video/2743663/must-see-moments-best-of-the-mls-season
'url': 'http://espn.go.com/video/clip?id=2743663',
+ 'md5': 'f4ac89b59afc7e2d7dbb049523df6768',
'info_dict': {
'id': '50NDFkeTqRHB0nXBOK-RGdSG5YQPuxHg',
'ext': 'mp4',
'title': 'Must-See Moments: Best of the MLS season',
},
- 'params': {
- # m3u8 download
- 'skip_download': True,
- },
+ 'add_ie': ['OoyalaExternal'],
}, {
'url': 'https://espn.go.com/video/iframe/twitter/?cms=espn&id=10365079',
'only_matching': True,