Skip to content

Commit

Permalink
perf: 更新代理参数说明
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnserf-Seed committed Oct 30, 2024
1 parent c0650df commit bcbf2a5
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/guide/apps/weibo/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

#### `--proxies`

代理服务器,最多 2 个参数,`http://``https://`空格区分 2 个参数,例如:`http://x.x.x.x https://x.x.x.x`。如果你的代理不支持`出口HTTPS`那么请使用`http://x.x.x.x http://x.x.x.x`
代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下如你的代理不支持`出口HTTPS`https:// 应使用 http:// 方案)

#### `--auto-cookie`

Expand Down
2 changes: 1 addition & 1 deletion f2/apps/douyin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def validate_proxies(
type=str,
nargs=2,
help=_(
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下,https:// 应使用 http:// 方案)"
),
callback=validate_proxies,
)
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/douyin/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def help() -> None:
"-P --proxies",
"[dark_cyan]str",
_(
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下,https:// 应使用 http:// 方案)"
),
),
("-L --lyric", "[dark_cyan]Bool", _("是否保存视频歌词")),
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/tiktok/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def validate_proxies(
type=str,
nargs=2,
help=_(
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下,https:// 应使用 http:// 方案)"
),
callback=validate_proxies,
)
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/tiktok/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def help() -> None:
"-P --proxies",
"[dark_cyan]str",
_(
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下,https:// 应使用 http:// 方案)"
),
),
(
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/twitter/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def validate_proxies(
type=str,
nargs=2,
help=_(
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下,https:// 应使用 http:// 方案)"
),
callback=validate_proxies,
)
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/twitter/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def help() -> None:
"-P --proxies",
"[dark_cyan]str",
_(
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下,https:// 应使用 http:// 方案)"
),
),
("--update-config", "[dark_cyan]Flag", _("使用命令行选项更新配置文件")),
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/weibo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def validate_proxies(
type=str,
nargs=2,
help=_(
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下,https:// 应使用 http:// 方案)"
),
callback=validate_proxies,
)
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/weibo/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def help() -> None:
"-P --proxies",
"[dark_cyan]str",
_(
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,空格区分 2 个参数 http://x.x.x.x:xxxx http://x.x.x.x:xxxx (某些情况下,https:// 应使用 http:// 方案)"
),
),
("--update-config", "[dark_cyan]Flag", _("使用命令行选项更新配置文件")),
Expand Down

0 comments on commit bcbf2a5

Please sign in to comment.