mirror of
https://github.com/imgyh/tiktok.git
synced 2025-04-30 07:16:39 +08:00
fix(tiktok): 单个作品不使用多线程
This commit is contained in:
parent
f8ec5e3745
commit
939a417654
@ -84,7 +84,7 @@ def main():
|
|||||||
elif key_type == "aweme":
|
elif key_type == "aweme":
|
||||||
datanew, dataraw = tk.getAwemeInfo(key)
|
datanew, dataraw = tk.getAwemeInfo(key)
|
||||||
tk.awemeDownload(awemeDict=datanew, music=args.music, cover=args.cover, avatar=args.avatar,
|
tk.awemeDownload(awemeDict=datanew, music=args.music, cover=args.cover, avatar=args.avatar,
|
||||||
savePath=args.path)
|
savePath=args.path, usingThread=False)
|
||||||
elif key_type == "live":
|
elif key_type == "live":
|
||||||
live_json = tk.getLiveInfo(key)
|
live_json = tk.getLiveInfo(key)
|
||||||
if not os.path.exists(args.path):
|
if not os.path.exists(args.path):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user