1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

[ustream] Fix tests

This commit is contained in:
Sergey M․ 2015-10-05 22:52:51 +06:00
parent dc5756fd77
commit 40fbb05e1c

View File

@ -22,8 +22,12 @@ class UstreamIE(InfoExtractor):
'info_dict': { 'info_dict': {
'id': '20274954', 'id': '20274954',
'ext': 'flv', 'ext': 'flv',
'uploader': 'Young Americans for Liberty',
'title': 'Young Americans for Liberty February 7, 2012 2:28 AM', 'title': 'Young Americans for Liberty February 7, 2012 2:28 AM',
'description': 'Young Americans for Liberty February 7, 2012 2:28 AM',
'timestamp': 1328577035,
'upload_date': '20120207',
'uploader': 'yaliberty',
'uploader_id': '6780869',
}, },
}, { }, {
# From http://sportscanada.tv/canadagames/index.php/week2/figure-skating/444 # From http://sportscanada.tv/canadagames/index.php/week2/figure-skating/444
@ -35,7 +39,8 @@ class UstreamIE(InfoExtractor):
'ext': 'flv', 'ext': 'flv',
'title': '-CG11- Canada Games Figure Skating', 'title': '-CG11- Canada Games Figure Skating',
'uploader': 'sportscanadatv', 'uploader': 'sportscanadatv',
} },
'skip': 'This Pro Broadcaster has chosen to remove this video from the ustream.tv site.',
}] }]
def _real_extract(self, url): def _real_extract(self, url):