Files
EveryPublish/examples/get_tk_cookie.py
T
pookz@stme e40fd39b67 1. tk(chrome support)
2. tk add thumbnail support
2024-07-03 16:58:19 +08:00

10 lines
288 B
Python

import asyncio
from pathlib import Path
from conf import BASE_DIR
from tk_uploader.main_chrome 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))