mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 03:17:44 +03:00
[youku] let KeyboardInterrupt raise
This commit is contained in:
parent
4d1e69eae0
commit
135c2442ee
@ -141,7 +141,7 @@ class Youku(VideoExtractor):
|
||||
data = meta['data']
|
||||
data1 = meta1['data']
|
||||
assert 'stream' in data
|
||||
except:
|
||||
except AssertionError:
|
||||
if 'error' in data:
|
||||
if data['error']['code'] == -202:
|
||||
# Password protected
|
||||
|
Loading…
x
Reference in New Issue
Block a user