forked from AntonVanke/JDBrandMember
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
29 lines (23 loc) · 1.03 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# cookie 格式: pt_key=******;pt_pin=****** 多个 cookie 请换行添加
cookies:
- pt_key=123465abc;pt_pin=jd_123987
# 线程数量: 注意!不要超过 8 线程,否则可能会被京东临时禁止访问
thread: 4
# 间隔时间,默认为0
sleep-time: 0
# 筛选
screening:
use: shopid.yaml
bean: 0 # 最小获得京豆数少于此的不会获取
voucher: true # 是否获取红包?true: 获取, false: 不获取。红包有有效期限!
# 用户注册时所填写的信息
register:
v_sex: 男 # 要求: 男 or 女
v_birthday: 2000-09-27 # 要求: yyyy-mm-dd
v_name: 康有为 # 要求: 1 - 10 个字符
# 用户代理,可自行配置
user-agent:
- Mozilla/5.0 (Linux; Android 9; COR-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/46.03.4.5155
- okhttp/3.12.1;jdmall;android;version/10.0.1;build/88405;screen/1080x2250;os/9;network/wifi;
# 获取 shop_id 的连接地址详见 main.py -> get_shopid()
shop_id_url: https://antonvanke.github.io/JDBrandMember/shopid.yaml