mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 11:24:02 +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']
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user