Browse Source

[generic,viewlift] Move a test case to the specialized extractor

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
28bab13348
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
2 changed files with 4 additions and 12 deletions
  1. +0
    -12
      youtube_dl/extractor/generic.py
  2. +4
    -0
      youtube_dl/extractor/viewlift.py

+ 0
- 12
youtube_dl/extractor/generic.py View File

@ -881,18 +881,6 @@ class GenericIE(InfoExtractor):
'title': 'EP3S5 - Bon Appétit - Baqueira Mi Corazon !', 'title': 'EP3S5 - Bon Appétit - Baqueira Mi Corazon !',
} }
}, },
# Kaltura embed
{
'url': 'http://www.monumentalnetwork.com/videos/john-carlson-postgame-2-25-15',
'info_dict': {
'id': '1_eergr3h1',
'ext': 'mp4',
'upload_date': '20150226',
'uploader_id': 'MonumentalSports-Kaltura@perfectsensedigital.com',
'timestamp': int,
'title': 'John Carlson Postgame 2/25/15',
},
},
# Kaltura embed (different embed code) # Kaltura embed (different embed code)
{ {
'url': 'http://www.premierchristianradio.com/Shows/Saturday/Unbelievable/Conference-Videos/Os-Guinness-Is-It-Fools-Talk-Unbelievable-Conference-2014', 'url': 'http://www.premierchristianradio.com/Shows/Saturday/Unbelievable/Conference-Videos/Os-Guinness-Is-It-Fools-Talk-Unbelievable-Conference-2014',


+ 4
- 0
youtube_dl/extractor/viewlift.py View File

@ -141,6 +141,10 @@ class ViewLiftIE(ViewLiftBaseIE):
}, { }, {
'url': 'http://www.kesari.tv/news/video/1461919076414', 'url': 'http://www.kesari.tv/news/video/1461919076414',
'only_matching': True, 'only_matching': True,
}, {
# Was once Kaltura embed
'url': 'https://www.monumentalsportsnetwork.com/videos/john-carlson-postgame-2-25-15',
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):


Loading…
Cancel
Save