1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 06:09:58 +08:00

[nbc:NBCSportsVPlayer] Updated tests

This commit is contained in:
Parmjit Virk 2017-09-05 22:49:04 -05:00
parent 56ee4893e7
commit d52d151b2c

View File

@ -109,18 +109,18 @@ class NBCSportsVPlayerIE(InfoExtractor):
_VALID_URL = r'https?://vplayer\.nbcsports\.com/(?:[^/]+/)+(?P<id>[0-9a-zA-Z_]+)' _VALID_URL = r'https?://vplayer\.nbcsports\.com/(?:[^/]+/)+(?P<id>[0-9a-zA-Z_]+)'
_TESTS = [{ _TESTS = [{
'url': 'https://vplayer.nbcsports.com/p/BxmELC/nbcsports_share/select/9CsDKds0kvHI', 'url': 'http://vplayer.nbcsports.com/p/BxmELC/chicago_embed/select/media/u4xMi3ngFKsS',
'info_dict': { 'info_dict': {
'id': '9CsDKds0kvHI', 'id': 'u4xMi3ngFKsS',
'ext': 'flv', 'ext': 'mp4',
'description': 'md5:df390f70a9ba7c95ff1daace988f0d8d', 'description': 'md5:8fb3edf07c77cc5901c5f37fa019f87c',
'title': 'Tyler Kalinoski hits buzzer-beater to lift Davidson', 'title': 'Cubs PGL: Who needs to step up in Contreras\' absence',
'timestamp': 1426270238, 'timestamp': 1502319595,
'upload_date': '20150313', 'upload_date': '20170809',
'uploader': 'NBCU-SPORTS', 'uploader': 'NBCU-SPORTS',
} }
}, { }, {
'url': 'http://vplayer.nbcsports.com/p/BxmELC/nbc_embedshare/select/_hqLjQ95yx8Z', 'url': 'https://vplayer.nbcsports.com/p/BxmELC/nbcsports_embed/select/media/qyc_v6mfDyWv',
'only_matching': True, 'only_matching': True,
}] }]