projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbb7287
)
[pbs] Carry long line
author
Sergey M․
<dstftw@gmail.com>
Thu, 8 Oct 2015 18:09:10 +0000
(
00:09
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 8 Oct 2015 18:09:10 +0000
(
00:09
+0600)
youtube_dl/extractor/pbs.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pbs.py
b/youtube_dl/extractor/pbs.py
index 814e97f4842ce7db02b61b63e6c2d9f9143e6dbd..3448736a258458ff1a2b4a2ee126ce703894e6dc 100644
(file)
--- 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: