1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-24 08:45:27 +00:00

[soundcloud] Modernize and fix tests

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-10-25 22:32:01 +02:00
parent 9a76f416ce
commit 0eb9fb9f24

View file

@ -40,14 +40,15 @@ class SoundcloudIE(InfoExtractor):
_TESTS = [ _TESTS = [
{ {
'url': 'http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy', 'url': 'http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy',
'file': '62986583.mp3',
'md5': 'ebef0a451b909710ed1d7787dddbf0d7', 'md5': 'ebef0a451b909710ed1d7787dddbf0d7',
'info_dict': { 'info_dict': {
"upload_date": "20121011", 'id': '62986583',
"description": "No Downloads untill we record the finished version this weekend, i was too pumped n i had to post it , earl is prolly gonna b hella p.o'd", 'ext': 'mp3',
"uploader": "E.T. ExTerrestrial Music", 'upload_date': '20121011',
"title": "Lostin Powers - She so Heavy (SneakPreview) Adrian Ackers Blueprint 1", 'description': 'No Downloads untill we record the finished version this weekend, i was too pumped n i had to post it , earl is prolly gonna b hella p.o\'d',
"duration": 143, 'uploader': 'E.T. ExTerrestrial Music',
'title': 'Lostin Powers - She so Heavy (SneakPreview) Adrian Ackers Blueprint 1',
'duration': 143,
} }
}, },
# not streamable song # not streamable song
@ -103,7 +104,7 @@ class SoundcloudIE(InfoExtractor):
'id': '128590877', 'id': '128590877',
'ext': 'mp3', 'ext': 'mp3',
'title': 'Bus Brakes', 'title': 'Bus Brakes',
'description': 'md5:0170be75dd395c96025d210d261c784e', 'description': 'md5:0053ca6396e8d2fd7b7e1595ef12ab66',
'uploader': 'oddsamples', 'uploader': 'oddsamples',
'upload_date': '20140109', 'upload_date': '20140109',
'duration': 17, 'duration': 17,