1. add kuaishou uploader
2. refactor the code
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import asyncio
|
||||
from pathlib import Path
|
||||
|
||||
from conf import BASE_DIR
|
||||
from uploader.ks_uploader.main import ks_setup
|
||||
|
||||
if __name__ == '__main__':
|
||||
account_file = Path(BASE_DIR / "cookies" / "ks_uploader" / "account.json")
|
||||
cookie_setup = asyncio.run(ks_setup(str(account_file), handle=True))
|
||||
Reference in New Issue
Block a user