change readme

This commit is contained in:
pookz@stme
2023-12-21 16:56:23 +08:00
parent 8077db5f2b
commit 2c436cd3b6
4 changed files with 35 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
import asyncio
from pathlib import Path
from conf import BASE_DIR
from tencent_uploader.main import weixin_setup
if __name__ == '__main__':
account_file = Path(BASE_DIR / "tencent_uploader" / "account.json")
cookie_setup = asyncio.run(weixin_setup(str(account_file), handle=True))