Implement cancell download

This commit is contained in:
taizan-hokuto
2020-02-13 21:15:39 +09:00
parent b1292b4329
commit 6fdb3bf8cf
2 changed files with 25 additions and 1 deletions

View File

@@ -84,3 +84,6 @@ def download(video_id, div = 1, callback = None, processor = None):
[{'video_id':None,'timeout':1,'chatdata' : [action
["replayChatItemAction"]["actions"][0] for action in data]}]
)
def cancel():
asyncdl.cancel()