mirror of https://github.com/blackjack4494/yt-dlc
[soundcloud:search] Remove no track results message
This commit is contained in:
parent
4e3b303016
commit
7dc011c063
|
@ -535,8 +535,4 @@ class SoundcloudSearchIE(SearchInfoExtractor, SoundcloudIE):
|
||||||
|
|
||||||
results = [self.url_result(track['uri']) for track in itertools.islice(tracks, n)]
|
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)
|
return self.playlist_result(results, playlist_title=query)
|
||||||
|
|
Loading…
Reference in New Issue