Browse Source

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

master
Sergey M․ 9 years ago
parent
commit
562ceab13d
1 changed files with 3 additions and 2 deletions
  1. 5
      youtube_dl/extractor/soundcloud.py

5
youtube_dl/extractor/soundcloud.py

@ -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)
result['formats'] = formats
self._check_formats(formats, track_id)
self._sort_formats(formats)
result['formats'] = formats
return result return result

Loading…
Cancel
Save