From: Remita Amine Date: Sun, 14 Aug 2016 19:12:53 +0000 (+0100) Subject: [viceland] raise ExtractorError for errors other than HTTP 400 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e811bcf8f820d92b6629920b7c3c5a902815e6d1;p=youtube-dl [viceland] raise ExtractorError for errors other than HTTP 400 --- 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']