[youku] let KeyboardInterrupt raise

This commit is contained in:
Mort Yao 2015-12-09 13:34:15 +01:00
parent 4d1e69eae0
commit 135c2442ee

View File

@ -141,7 +141,7 @@ class Youku(VideoExtractor):
data = meta['data'] data = meta['data']
data1 = meta1['data'] data1 = meta1['data']
assert 'stream' in data assert 'stream' in data
except: except AssertionError:
if 'error' in data: if 'error' in data:
if data['error']['code'] == -202: if data['error']['code'] == -202:
# Password protected # Password protected