From: Sergey M․ Date: Thu, 8 Oct 2015 18:09:10 +0000 (+0600) Subject: [pbs] Carry long line X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9d5fb3b58d95fbd8c28d9c0eaf4a652660324d9e;p=youtube-dl [pbs] Carry long line --- diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py index 814e97f48..3448736a2 100644 --- a/youtube_dl/extractor/pbs.py +++ b/youtube_dl/extractor/pbs.py @@ -238,7 +238,11 @@ class PBSIE(InfoExtractor): 'Downloading %s video url info' % encoding_name) if redirect_info['status'] == 'error': - raise ExtractorError('PBS said: %s' % self._ERRORS.get(redirect_info['http_code'], redirect_info['message']), expected=True) + raise ExtractorError( + '%s said: %s' % ( + self.IE_NAME, + self._ERRORS.get(redirect_info['http_code'], redirect_info['message'])), + expected=True) format_url = redirect_info.get('url') if not format_url: