mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 06:37:07 -05:00 
			
		
		
		
	[soundcloud] Raise an error instead of calling 'report_error'
This commit is contained in:
		@@ -279,9 +279,8 @@ class SoundcloudSetIE(SoundcloudIE):
 | 
			
		||||
        info = self._download_json(resolv_url, full_title)
 | 
			
		||||
 | 
			
		||||
        if 'errors' in info:
 | 
			
		||||
            for err in info['errors']:
 | 
			
		||||
                self._downloader.report_error('unable to download video webpage: %s' % compat_str(err['error_message']))
 | 
			
		||||
            return
 | 
			
		||||
            msgs = (compat_str(err['error_message']) for err in info['errors'])
 | 
			
		||||
            raise ExtractorError('unable to download video webpage: %s' % ','.join(msgs))
 | 
			
		||||
 | 
			
		||||
        return {
 | 
			
		||||
            '_type': 'playlist',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user