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

Add TestDownload.test_Livestream_2 JSON test.

This commit is contained in:
nmrugg 2015-03-14 14:59:24 +08:00
parent 40e6e478b8
commit f65c404408

View File

@ -43,6 +43,13 @@ class LivestreamIE(InfoExtractor):
}, { }, {
'url': 'https://new.livestream.com/accounts/362/events/3557232/videos/67864563/player?autoPlay=false&height=360&mute=false&width=640', 'url': 'https://new.livestream.com/accounts/362/events/3557232/videos/67864563/player?autoPlay=false&height=360&mute=false&width=640',
'only_matching': True, 'only_matching': True,
}, {
'url': 'http://new.livestream.com/api/accounts/1504418/events/3705884/feed.json?&id=74703579&newer=-1&type=video',
'info_dict': {
'id': 'unknown',
'title': 'unknown',
},
'playlist_mincount': 10,
}] }]
def _parse_smil(self, video_id, smil_url): def _parse_smil(self, video_id, smil_url):