1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

[soundcloud] Use correct error message conventions

This commit is contained in:
reiv 2015-10-18 12:43:25 +02:00 committed by Sergey M․
parent 6ea7190a3e
commit 417b453699

View file

@ -535,7 +535,7 @@ def _get_n_results(self, query, n):
if not results:
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)