projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323f82a
)
[youku] check for the correct variable
author
remitamine
<remitamine@gmail.com>
Thu, 17 Dec 2015 11:51:50 +0000
(12:51 +0100)
committer
remitamine
<remitamine@gmail.com>
Thu, 17 Dec 2015 11:51:50 +0000
(12:51 +0100)
youtube_dl/extractor/youku.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youku.py
b/youtube_dl/extractor/youku.py
index d33caa79ea4accdd6fd5e5d8cfb6a8457ae288b8..3a3432be85464ecdee517620b5e0cf9f3534d0d8 100644
(file)
--- a/
youtube_dl/extractor/youku.py
+++ b/
youtube_dl/extractor/youku.py
@@
-221,7
+221,7
@@
class YoukuIE(InfoExtractor):
'Youku said: Sorry, this video is available in China only', expected=True)
else:
msg = 'Youku server reported error %i' % error.get('code')
- if error is not None:
+ if error
_note
is not None:
msg += ': ' + error_note
raise ExtractorError(msg)