aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-09 00:09:10 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-09 00:09:10 +0600
commit9d5fb3b58d95fbd8c28d9c0eaf4a652660324d9e (patch)
tree4064ca21e18515e6d7fd17130644a652f080c930 /youtube_dl
parentcbb72872043734bbcf1fd2c5a1d432ebd643e440 (diff)
[pbs] Carry long line
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/pbs.py6
1 files changed, 5 insertions, 1 deletions
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: