mirror of
https://github.com/imgyh/tiktok.git
synced 2025-04-06 08:15:46 +08:00
feat(tiktok): 单个作品使用多线程下载
This commit is contained in:
parent
0fb3739b47
commit
38fc76826d
@ -85,8 +85,10 @@ def main():
|
||||
savePath=args.path, thread=args.thread)
|
||||
elif key_type == "aweme":
|
||||
datanew, dataraw = tk.getAwemeInfo(key)
|
||||
tk.awemeDownload(awemeDict=datanew, music=args.music, cover=args.cover, avatar=args.avatar, resjson=args.json,
|
||||
savePath=args.path, usingThread=False)
|
||||
datalist = []
|
||||
datalist.append(datanew)
|
||||
tk.userDownload(awemeList=datalist, music=args.music, cover=args.cover, avatar=args.avatar, resjson=args.json,
|
||||
savePath=args.path, thread=args.thread)
|
||||
elif key_type == "live":
|
||||
live_json = tk.getLiveInfo(key)
|
||||
if args.json:
|
||||
|
Loading…
x
Reference in New Issue
Block a user