1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-07-04 23:21:17 +02:00

Not directly calling soundcloud extractor anymore

This commit is contained in:
xavier 2014-10-24 21:11:46 -05:00
parent fdfefa1b9c
commit d36cae46d8

View File

@ -52,8 +52,7 @@ def _real_extract(self, url):
#Audiomack wraps a lot of soundcloud tracks in their branded wrapper
# - if so, pass the work off to the soundcloud extractor
if SoundcloudIE.suitable(realurl):
sc = SoundcloudIE(downloader=self._downloader)
return sc._real_extract(realurl)
return {'_type': 'url', 'url': realurl, 'ie_key': 'Soundcloud'}
else:
#Pull out metadata
page = self._download_webpage(url, id)