1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01:00

[soundcloud] Check direct links validity (Closes #5101)

This commit is contained in:
Sergey M․ 2015-03-02 22:39:32 +06:00
parent 2f0f6578c3
commit 562ceab13d

View File

@ -200,8 +200,9 @@ class SoundcloudIE(InfoExtractor):
if f['format_id'].startswith('rtmp'): if f['format_id'].startswith('rtmp'):
f['protocol'] = 'rtmp' f['protocol'] = 'rtmp'
self._sort_formats(formats) self._check_formats(formats, track_id)
result['formats'] = formats self._sort_formats(formats)
result['formats'] = formats
return result return result