mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
let KeyboardInterrupt bypass
This commit is contained in:
parent
fc93524cc3
commit
9283200c62
@ -86,6 +86,8 @@ class Youku(VideoExtractor):
|
|||||||
index = parse_query_param(video, 'f')
|
index = parse_query_param(video, 'f')
|
||||||
try:
|
try:
|
||||||
self.__class__().download_by_url(video, index=index, **kwargs)
|
self.__class__().download_by_url(video, index=index, **kwargs)
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
raise
|
||||||
except:
|
except:
|
||||||
exc_type, exc_value, exc_traceback = sys.exc_info()
|
exc_type, exc_value, exc_traceback = sys.exc_info()
|
||||||
traceback.print_exception(exc_type, exc_value, exc_traceback)
|
traceback.print_exception(exc_type, exc_value, exc_traceback)
|
||||||
|
Loading…
Reference in New Issue
Block a user