Not directly calling soundcloud extractor anymore
authorxavier <xavier.beynon@gmail.com>
Sat, 25 Oct 2014 02:11:46 +0000 (21:11 -0500)
committerxavier <xavier.beynon@gmail.com>
Sat, 25 Oct 2014 02:11:46 +0000 (21:11 -0500)
youtube_dl/extractor/audiomack.py

index bdcc512351dbaa726f148c96e00b7af14ba9cb57..2f32253af80cde3907589d74d18707f1874c89f1 100644 (file)
@@ -52,8 +52,7 @@ class AudiomackIE(InfoExtractor):
         #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)