mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 22:47:06 -05:00 
			
		
		
		
	[eagleplatform] Make _handle_error staticmethod
This commit is contained in:
		@@ -48,7 +48,8 @@ class EaglePlatformIE(InfoExtractor):
 | 
			
		||||
        'skip': 'Georestricted',
 | 
			
		||||
    }]
 | 
			
		||||
 | 
			
		||||
    def _handle_error(self, response):
 | 
			
		||||
    @staticmethod
 | 
			
		||||
    def _handle_error(response):
 | 
			
		||||
        status = int_or_none(response.get('status', 200))
 | 
			
		||||
        if status != 200:
 | 
			
		||||
            raise ExtractorError(' '.join(response['errors']), expected=True)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user