aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/viceland.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-14 20:12:53 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-14 20:13:35 +0100
commite811bcf8f820d92b6629920b7c3c5a902815e6d1 (patch)
tree140e6705dcc380f03d0678c4501846d73119afab /youtube_dl/extractor/viceland.py
parent6103f59095bd1e514e43b3f84f4633e27ee09b69 (diff)
downloadyoutube-dl-e811bcf8f820d92b6629920b7c3c5a902815e6d1.tar.xz
[viceland] raise ExtractorError for errors other than HTTP 400
Diffstat (limited to 'youtube_dl/extractor/viceland.py')
-rw-r--r--youtube_dl/extractor/viceland.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/viceland.py b/youtube_dl/extractor/viceland.py
index 0be8a792f..814a72fa2 100644
--- 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']