aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/soundcloud.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-06-27 20:46:46 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-06-27 20:46:46 +0200
commit6f5ac90cf314e8e1a7c5c416fb51e3a7b8483e9c (patch)
tree5858b022ee180d96bbb57ca5c2fb827222c83f8d /youtube_dl/extractor/soundcloud.py
parentddbd9035764678fbd698a8e5358a8cfbdfe0dfe9 (diff)
downloadyoutube-dl-6f5ac90cf314e8e1a7c5c416fb51e3a7b8483e9c.tar.xz
Move tests to the IE definitions
Diffstat (limited to 'youtube_dl/extractor/soundcloud.py')
-rw-r--r--youtube_dl/extractor/soundcloud.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py
index 05342c9b1..9f81fa87a 100644
--- a/youtube_dl/extractor/soundcloud.py
+++ b/youtube_dl/extractor/soundcloud.py
@@ -21,6 +21,17 @@ class SoundcloudIE(InfoExtractor):
_VALID_URL = r'^(?:https?://)?(?:www\.)?soundcloud\.com/([\w\d-]+)/([\w\d-]+)'
IE_NAME = u'soundcloud'
+ _TEST = {
+ u'url': u'http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy',
+ u'file': u'62986583.mp3',
+ u'md5': u'ebef0a451b909710ed1d7787dddbf0d7',
+ u'info_dict': {
+ u"upload_date": u"20121011",
+ u"description": u"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",
+ u"uploader": u"E.T. ExTerrestrial Music",
+ u"title": u"Lostin Powers - She so Heavy (SneakPreview) Adrian Ackers Blueprint 1"
+ }
+ }
def report_resolve(self, video_id):
"""Report information extraction."""