10 lines
289 B
Python
10 lines
289 B
Python
import asyncio
|
|
from pathlib import Path
|
|
|
|
from conf import BASE_DIR
|
|
from douyin_uploader.main import douyin_setup
|
|
|
|
if __name__ == '__main__':
|
|
account_file = Path(BASE_DIR / "douyin_uploader" / "account.json")
|
|
cookie_setup = asyncio.run(douyin_setup(str(account_file), handle=True))
|