Track bundled vendor runtime sources
This commit is contained in:
11
vendor/social-auto-upload/examples/get_tencent_cookie.py
vendored
Normal file
11
vendor/social-auto-upload/examples/get_tencent_cookie.py
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import asyncio
|
||||
from pathlib import Path
|
||||
|
||||
from conf import BASE_DIR
|
||||
from uploader.tencent_uploader.main import tencent_setup
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
account_file = Path(BASE_DIR / "cookies" / "tencent_uploader" / "account.json")
|
||||
account_file.parent.mkdir(exist_ok=True)
|
||||
asyncio.run(tencent_setup(str(account_file), handle=True))
|
||||
Reference in New Issue
Block a user