fix: split accounts by newline only
This commit is contained in:
@@ -8,8 +8,11 @@
|
||||
# 单账号
|
||||
export dxxwhd='账号&密码'
|
||||
|
||||
# 多账号,用 @ 或换行分隔
|
||||
export dxxwhd='账号1&密码1@账号2&密码2'
|
||||
# 单账号 + SOCKS5 代理
|
||||
export dxxwhd='账号&密码&支付宝账号&姓名&socks5h://user:pass@host:1080'
|
||||
|
||||
# 多账号:仅使用换行分隔
|
||||
export dxxwhd=$'账号1&密码1&支付宝1&姓名1&socks5h://user1:pass1@host1:1080\n账号2&密码2&支付宝2&姓名2&socks5h://user2:pass2@host2:1080'
|
||||
```
|
||||
|
||||
账号字段支持:
|
||||
@@ -18,7 +21,15 @@ export dxxwhd='账号1&密码1@账号2&密码2'
|
||||
账号&密码&支付宝账号&姓名&socks5代理
|
||||
```
|
||||
|
||||
- `socks5代理` 可选,示例:`socks5://127.0.0.1:7890` 或 `socks5h://user:pass@host:port`
|
||||
- 未配置代理时使用本地网络
|
||||
- 配置代理后,该账号所有请求(登录、积分任务、文章、微剧/兑吧)都会走该 SOCKS5 代理
|
||||
说明:
|
||||
|
||||
- 多账号**只按换行分隔**,不再按 `@` 分隔,避免 `socks5h://user:pass@host:port` 被误拆。
|
||||
- `socks5代理` 可选,示例:`socks5://127.0.0.1:7890` 或 `socks5h://user:pass@host:port`。
|
||||
- 未配置代理时使用本地网络。
|
||||
- 配置代理后,该账号所有请求(登录、积分任务、文章、微剧/兑吧)都会走该 SOCKS5 代理。
|
||||
- 如果代理用户名或密码包含 `&`,仍需要 URL 编码为 `%26`,因为 `&` 是账号字段分隔符。
|
||||
- 如果不配置支付宝/姓名,只配置代理:
|
||||
|
||||
```bash
|
||||
export dxxwhd='账号&密码&&&socks5h://user:pass@host:1080'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user