]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[soundcloud:search] Remove no track results message
authorSergey M․ <dstftw@gmail.com>
Sat, 21 Nov 2015 15:00:42 +0000 (21:00 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 21 Nov 2015 15:00:42 +0000 (21:00 +0600)
youtube_dl/extractor/soundcloud.py

index 66bb1cb542e84039f14cfd422bb1b03f87e82ba4..e880872aed147e6b8bd58a1500f7d3a610d64f62 100644 (file)
@@ -535,8 +535,4 @@ class SoundcloudSearchIE(SearchInfoExtractor, SoundcloudIE):
 
         results = [self.url_result(track['uri']) for track in itertools.islice(tracks, n)]
 
-        if not results:
-            raise ExtractorError(
-                'Soundcloud said: No track results', expected=True)
-
         return self.playlist_result(results, playlist_title=query)