mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 20:23:59 +00:00
[soundcloud] Use correct error message conventions
This commit is contained in:
parent
6ea7190a3e
commit
417b453699
1 changed files with 2 additions and 2 deletions
|
@ -535,7 +535,7 @@ def _get_n_results(self, query, n):
|
||||||
|
|
||||||
if not results:
|
if not results:
|
||||||
raise ExtractorError(
|
raise ExtractorError(
|
||||||
'[soundcloud] No track results', expected=True)
|
'Soundcloud said: No track results', expected=True)
|
||||||
|
|
||||||
return self.playlist_result(results[:n], playlist_title=query)
|
return self.playlist_result(results, playlist_title=query)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue