upload for tiktok

This commit is contained in:
pookz@stme
2024-04-10 13:23:02 +08:00
parent f5f9e7d5e1
commit de17838e62
7 changed files with 325 additions and 21 deletions
+9
View File
@@ -0,0 +1,9 @@
import asyncio
from pathlib import Path
from conf import BASE_DIR
from tk_uploader.main import tiktok_setup
if __name__ == '__main__':
account_file = Path(BASE_DIR / "tk_uploader" / "account.json")
cookie_setup = asyncio.run(tiktok_setup(str(account_file), handle=True))