[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 @@ def _extract_info_dict(self, info, full_title=None, quiet=False, secret_token=No
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