1. add kuaishou uploader

2. refactor the code
This commit is contained in:
pookz@stme
2024-08-08 18:38:13 +08:00
parent 707c467a89
commit 3158eb9a4c
35 changed files with 279 additions and 24 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ import asyncio
from pathlib import Path
from conf import BASE_DIR
from tk_uploader.main_chrome import tiktok_setup
from uploader.tk_uploader.main_chrome import tiktok_setup
if __name__ == '__main__':
account_file = Path(BASE_DIR / "tk_uploader" / "account.json")
account_file = Path(BASE_DIR / "cookies" / "tk_uploader" / "account.json")
cookie_setup = asyncio.run(tiktok_setup(str(account_file), handle=True))