commit e811bcf8f820d92b6629920b7c3c5a902815e6d1
parent 6103f59095bd1e514e43b3f84f4633e27ee09b69
Author: Remita Amine <remitamine@gmail.com>
Date: Sun, 14 Aug 2016 20:12:53 +0100
[viceland] raise ExtractorError for errors other than HTTP 400
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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']