1. 重构快手

- 图文增加
- 封面增加
2. 快手skill,cli支持
This commit is contained in:
home-dev-pookz
2026-03-25 02:25:02 +08:00
parent 2934328888
commit b415613b38
25 changed files with 1343 additions and 227 deletions
+8 -3
View File
@@ -4,7 +4,12 @@ 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")
def login_to_kuaishou():
account_file = Path(BASE_DIR / "cookies" / "kuaishou_creator1.json")
account_file.parent.mkdir(exist_ok=True)
cookie_setup = asyncio.run(ks_setup(str(account_file), handle=True))
asyncio.run(ks_setup(str(account_file), handle=True))
if __name__ == '__main__':
login_to_kuaishou()