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