diff options
author | Remita Amine <[email protected]> | 2016-08-14 20:12:53 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2016-08-14 20:13:35 +0100 |
commit | e811bcf8f820d92b6629920b7c3c5a902815e6d1 (patch) | |
tree | 140e6705dcc380f03d0678c4501846d73119afab /youtube_dl/extractor/viceland.py | |
parent | 6103f59095bd1e514e43b3f84f4633e27ee09b69 (diff) | |
download | youtube-dl-e811bcf8f820d92b6629920b7c3c5a902815e6d1.tar.gz youtube-dl-e811bcf8f820d92b6629920b7c3c5a902815e6d1.zip |
[viceland] raise ExtractorError for errors other than HTTP 400
Diffstat (limited to 'youtube_dl/extractor/viceland.py')
-rw-r--r-- | youtube_dl/extractor/viceland.py | 1 |
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'] |