Document yunda config and remove dead main_task.py
- config.example.yaml: add the yunda section (username/password for auto-login, query_days) and list 韵达 as a valid debug target_site - Delete main_task.py: early single-site (顺心-only) prototype whose every function is superseded by main_router.py + site_shunxin.py; nothing imports it, and it predates paths.py / multi-site / the automation test Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ debug:
|
||||
enabled: false
|
||||
|
||||
# 调试模式下要单独启动的网点名称。
|
||||
# 仅在 enabled: true 时生效。可选值:顺心 / 百世 / 中通。
|
||||
# 仅在 enabled: true 时生效。可选值:顺心 / 百世 / 中通 / 韵达。
|
||||
# 留空或不匹配时将回退为全量模式。
|
||||
target_site: ""
|
||||
|
||||
@@ -35,3 +35,16 @@ zto:
|
||||
# 应到货物数据的查询时间范围(单位:天,向前回溯 N 天至今天)。
|
||||
# 建议保持 1。设置过大且超出日历视窗时,会自动降级为仅查询当天。
|
||||
query_days: 1
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# 韵达快运 (https://ky-sso.yunda56.com)
|
||||
# ----------------------------------------------------------------------------
|
||||
yunda:
|
||||
# 自动登录的账号与密码(由 site_yunda.yunda_login 读取并填入登录表单)。
|
||||
# 留空时自动登录会填入空串导致登录失败,届时可在浏览器中改为手动登录。
|
||||
# 真实凭据仅写进被 .gitignore 忽略的 config.yaml,切勿提交示例值。
|
||||
username: "YOUR_USERNAME_HERE"
|
||||
password: "YOUR_PASSWORD_HERE"
|
||||
|
||||
# 应到 / 实到数据的查询时间范围(单位:天,向前回溯 N 天至今天)。
|
||||
query_days: 1
|
||||
|
||||
Reference in New Issue
Block a user