mirror of
https://github.com/dreammis/social-auto-upload.git
synced 2026-06-04 21:03:37 +08:00
11 lines
354 B
Python
11 lines
354 B
Python
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))
|