Skip to content

A feature-rich command-line audio/video downloader

[viceland] raise ExtractorError for errors other than HTTP 400

Remita Aminee811bcf8f820
diff --git a/youtube_dl/extractor/viceland.py b/youtube_dl/extractor/viceland.py
index 0be8a792f2..814a72fa21 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']