aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-03-02 22:39:32 +0600
committerSergey M․ <dstftw@gmail.com>2015-03-02 22:39:32 +0600
commit562ceab13dc3a19243d5ab9d4d5927031a608334 (patch)
tree842c654ef11f4e707dc3e5e06f80c7850b7dbd6e /youtube_dl/extractor
parent2f0f6578c3e4b82a5decc6f906a5f58b7b34c1a9 (diff)
[soundcloud] Check direct links validity (Closes #5101)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/soundcloud.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py
index c5284fa67..95788098e 100644
--- a/youtube_dl/extractor/soundcloud.py
+++ b/youtube_dl/extractor/soundcloud.py
@@ -200,8 +200,9 @@ class SoundcloudIE(InfoExtractor):
if f['format_id'].startswith('rtmp'):
f['protocol'] = 'rtmp'
- self._sort_formats(formats)
- result['formats'] = formats
+ self._check_formats(formats, track_id)
+ self._sort_formats(formats)
+ result['formats'] = formats
return result