From: Sergey M․ Date: Mon, 2 Mar 2015 16:39:32 +0000 (+0600) Subject: [soundcloud] Check direct links validity (Closes #5101) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=562ceab13dc3a19243d5ab9d4d5927031a608334;p=youtube-dl [soundcloud] Check direct links validity (Closes #5101) --- 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