mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 21:33:19 +00:00
[soundcloud:search] Remove no track results message
This commit is contained in:
parent
4e3b303016
commit
7dc011c063
|
@ -535,8 +535,4 @@ def _get_n_results(self, query, n):
|
||||||
|
|
||||||
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 a new issue