fix: login_douyin default to recommendation feed instead of creator page
This commit is contained in:
parent
cb7f2c89f7
commit
9035ba9dbc
@ -7,7 +7,7 @@ import sys
|
|||||||
import time
|
import time
|
||||||
from pathlib import Path
|
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_CHROME_PATH = "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
|
||||||
DEFAULT_BROWSER_PORT = 9223
|
DEFAULT_BROWSER_PORT = 9223
|
||||||
@ -54,7 +54,7 @@ def build_parser() -> argparse.ArgumentParser:
|
|||||||
default=DEFAULT_BROWSER_PORT,
|
default=DEFAULT_BROWSER_PORT,
|
||||||
help="Chrome 调试端口,默认 9223",
|
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
|
return parser
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user