File size: 354 Bytes
95edc20 0f24474 95edc20 bec961c 60a259e 95edc20 | 1 2 3 4 5 6 7 8 9 10 11 | import asyncio
from pathlib import Path
from conf import BASE_DIR
from uploader.tk_uploader.main_chrome import tiktok_setup
if __name__ == '__main__':
account_file = Path(BASE_DIR / "cookies" / "tk_uploader" / "account.json")
account_file.parent.mkdir(exist_ok=True)
cookie_setup = asyncio.run(tiktok_setup(str(account_file), handle=True))
|