fix: login_douyin default to recommendation feed instead of creator page

This commit is contained in:
wangshaoqing 2026-05-06 18:40:03 +08:00
parent cb7f2c89f7
commit 9035ba9dbc

View File

@ -7,7 +7,7 @@ import sys
import time
from pathlib import Path
from Douyin import DEFAULT_USER_URL
DEFAULT_RECOMMENDATION_URL = "https://www.douyin.com/"
DEFAULT_CHROME_PATH = "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
DEFAULT_BROWSER_PORT = 9223
@ -54,7 +54,7 @@ def build_parser() -> argparse.ArgumentParser:
default=DEFAULT_BROWSER_PORT,
help="Chrome 调试端口,默认 9223",
)
parser.add_argument("--user-url", default=DEFAULT_USER_URL, help="启动后打开的抖音页 URL")
parser.add_argument("--user-url", default=DEFAULT_RECOMMENDATION_URL, help="启动后打开的抖音 URL,默认推荐流首页")
return parser