diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2013-11-25 22:34:56 +0100 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2013-11-25 22:34:56 +0100 | 
| commit | fb04e40396509fd2bd41250eec3b07adf1aa1125 (patch) | |
| tree | f2ae5e12b262b096037c98df9681950d5bc37c50 /youtube_dl/extractor/soundcloud.py | |
| parent | d9b011f201ef61c10ce63b6078cd1e21b6da4d4a (diff) | |
[soundcloud] Support for listing of audio-only files
Diffstat (limited to 'youtube_dl/extractor/soundcloud.py')
| -rw-r--r-- | youtube_dl/extractor/soundcloud.py | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py index ee8da227e..3a19ab172 100644 --- a/youtube_dl/extractor/soundcloud.py +++ b/youtube_dl/extractor/soundcloud.py @@ -100,6 +100,7 @@ class SoundcloudIE(InfoExtractor):                  'format_id': 'download',                  'ext': ext,                  'url': format_url, +                'vcodec': 'none',              }]          else:              # We have to retrieve the url @@ -115,6 +116,7 @@ class SoundcloudIE(InfoExtractor):                          'format_id': key,                          'ext': ext,                          'url': stream_url, +                        'vcodec': 'none',                      })                  elif key.startswith(u'rtmp'):                      # The url doesn't have an rtmp app, we have to extract the playpath @@ -124,6 +126,7 @@ class SoundcloudIE(InfoExtractor):                          'url': url,                          'play_path': 'mp3:' + path,                          'ext': ext, +                        'vcodec': 'none',                      })              if not formats: @@ -133,6 +136,7 @@ class SoundcloudIE(InfoExtractor):                      'format_id': u'fallback',                      'url': info['stream_url'] + '?client_id=' + self._CLIENT_ID,                      'ext': ext, +                    'vcodec': 'none',                  })              def format_pref(f):  | 
