]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[viceland] raise ExtractorError for errors other than HTTP 400
authorRemita Amine <remitamine@gmail.com>
Sun, 14 Aug 2016 19:12:53 +0000 (20:12 +0100)
committerRemita Amine <remitamine@gmail.com>
Sun, 14 Aug 2016 19:13:35 +0000 (20:13 +0100)
youtube_dl/extractor/viceland.py

index 0be8a792f24d747286516684a6a6fb522f033fc7..814a72fa2138cfc57b451c828aff4553a40faced 100644 (file)
@@ -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']