SoundCloud IDs have changed, fix tests
This commit is contained in:
parent
c7214f9a6f
commit
863baa16ec
|
@ -108,7 +108,7 @@ class DownloadTest(unittest.TestCase):
|
||||||
|
|
||||||
@_skip_unless(youtube_dl.InfoExtractors.SoundcloudIE._WORKING, "IE marked as not _WORKING")
|
@_skip_unless(youtube_dl.InfoExtractors.SoundcloudIE._WORKING, "IE marked as not _WORKING")
|
||||||
def test_Soundcloud(self):
|
def test_Soundcloud(self):
|
||||||
filename = 'n6FLbx6ZzMiu.mp3'
|
filename = '62986583.mp3'
|
||||||
fd = FileDownloader(self.parameters)
|
fd = FileDownloader(self.parameters)
|
||||||
fd.add_info_extractor(youtube_dl.InfoExtractors.SoundcloudIE())
|
fd.add_info_extractor(youtube_dl.InfoExtractors.SoundcloudIE())
|
||||||
fd.download(['http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy'])
|
fd.download(['http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy'])
|
||||||
|
@ -170,8 +170,8 @@ class DownloadTest(unittest.TestCase):
|
||||||
if os.path.exists('939581.flv'):
|
if os.path.exists('939581.flv'):
|
||||||
os.remove('939581.flv')
|
os.remove('939581.flv')
|
||||||
# No file specified for Vimeo
|
# No file specified for Vimeo
|
||||||
if os.path.exists('n6FLbx6ZzMiu.mp3'):
|
if os.path.exists('62986583.mp3'):
|
||||||
os.remove('n6FLbx6ZzMiu.mp3')
|
os.remove('62986583.mp3')
|
||||||
if os.path.exists('PracticalUnix_intro-environment.mp4'):
|
if os.path.exists('PracticalUnix_intro-environment.mp4'):
|
||||||
os.remove('PracticalUnix_intro-environment.mp4')
|
os.remove('PracticalUnix_intro-environment.mp4')
|
||||||
# No file specified for CollegeHumor
|
# No file specified for CollegeHumor
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
"name": "Soundcloud",
|
"name": "Soundcloud",
|
||||||
"md5": "c1b9b9ea8bfd620b96b2628664576e1c",
|
"md5": "c1b9b9ea8bfd620b96b2628664576e1c",
|
||||||
"url": "http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy",
|
"url": "http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy",
|
||||||
"file": "n6FLbx6ZzMiu.mp3"
|
"file": "62986583.mp3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "StanfordOpenClassroom",
|
"name": "StanfordOpenClassroom",
|
||||||
|
|
Loading…
Reference in New Issue