projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6103f59
)
[viceland] raise ExtractorError for errors other than HTTP 400
author
Remita Amine
<remitamine@gmail.com>
Sun, 14 Aug 2016 19:12:53 +0000
(20:12 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sun, 14 Aug 2016 19:13:35 +0000
(20:13 +0100)
youtube_dl/extractor/viceland.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/viceland.py
b/youtube_dl/extractor/viceland.py
index 0be8a792f24d747286516684a6a6fb522f033fc7..814a72fa2138cfc57b451c828aff4553a40faced 100644
(file)
--- a/
youtube_dl/extractor/viceland.py
+++ b/
youtube_dl/extractor/viceland.py
@@
-70,6
+70,7
@@
class VicelandIE(AdobePass):
if isinstance(e.cause, compat_HTTPError) and e.cause.code == 400:
error = json.loads(e.cause.read().decode())
raise ExtractorError('%s said: %s' % (self.IE_NAME, error['details']), expected=True)
+ raise
video_data = preplay['video']
base = video_data['base']