Browse Source

[viceland] raise ExtractorError for errors other than HTTP 400

master
Remita Amine 8 years ago
parent
commit
e811bcf8f8
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/extractor/viceland.py

1
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']

Loading…
Cancel
Save