docs: clarify legacy uploader examples

This commit is contained in:
home-dev-pookz
2026-03-25 04:33:07 +08:00
parent 0778e29a04
commit 02afa4dbee
4 changed files with 31 additions and 3 deletions
+7 -1
View File
@@ -1,3 +1,9 @@
"""Legacy direct login helper for Kuaishou.
Current mainline usage prefers:
sau kuaishou login --account creator
"""
import asyncio
from pathlib import Path
@@ -6,7 +12,7 @@ from uploader.ks_uploader.main import ks_setup
def login_to_kuaishou():
account_file = Path(BASE_DIR / "cookies" / "kuaishou_creator1.json")
account_file = Path(BASE_DIR / "cookies" / "kuaishou_creator.json")
account_file.parent.mkdir(exist_ok=True)
asyncio.run(ks_setup(str(account_file), handle=True))