[generic] Modernize tests

pull/8/head
Sergey M․ 11 years ago
parent d360a14678
commit fd50bf623c

@ -47,8 +47,9 @@ class GenericIE(InfoExtractor):
{ {
'add_ie': ['Bandcamp'], 'add_ie': ['Bandcamp'],
'url': 'http://bronyrock.com/track/the-pony-mash', 'url': 'http://bronyrock.com/track/the-pony-mash',
'file': '3235767654.mp3',
'info_dict': { 'info_dict': {
'id': '3235767654',
'ext': 'mp3',
'title': 'The Pony Mash', 'title': 'The Pony Mash',
'uploader': 'M_Pallante', 'uploader': 'M_Pallante',
}, },
@ -74,9 +75,10 @@ class GenericIE(InfoExtractor):
{ {
# https://github.com/rg3/youtube-dl/issues/2253 # https://github.com/rg3/youtube-dl/issues/2253
'url': 'http://bcove.me/i6nfkrc3', 'url': 'http://bcove.me/i6nfkrc3',
'file': '3101154703001.mp4',
'md5': '0ba9446db037002366bab3b3eb30c88c', 'md5': '0ba9446db037002366bab3b3eb30c88c',
'info_dict': { 'info_dict': {
'id': '3101154703001',
'ext': 'mp4',
'title': 'Still no power', 'title': 'Still no power',
'uploader': 'thestar.com', 'uploader': 'thestar.com',
'description': 'Mississauga resident David Farmer is still out of power as a result of the ice storm a month ago. To keep the house warm, Farmer cuts wood from his property for a wood burning stove downstairs.', 'description': 'Mississauga resident David Farmer is still out of power as a result of the ice storm a month ago. To keep the house warm, Farmer cuts wood from his property for a wood burning stove downstairs.',

Loading…
Cancel
Save