youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 3c63e1bb5740484dae483595a87325e8cf9c7e7b
parent c471b34575eac87b0841616dd6acb90b221c6fe6
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 27 Sep 2015 01:12:46 +0600

[eagleplatform] Make _handle_error staticmethod

Diffstat:
Myoutube_dl/extractor/eagleplatform.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/eagleplatform.py b/youtube_dl/extractor/eagleplatform.py @@ -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)