Browse Source

[ustream] Fix tests

master
Sergey M․ 9 years ago
parent
commit
40fbb05e1c
1 changed files with 7 additions and 2 deletions
  1. 9
      youtube_dl/extractor/ustream.py

9
youtube_dl/extractor/ustream.py

@ -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):

Loading…
Cancel
Save