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