forked from cycz/jdBuyMask
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
212 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
[config] | ||
|
||
# skuids 英文逗号[,]相隔 (分清楚英文和中文逗号) | ||
skuids = 65466451629,65437208345,7498169,7498165,7263128,7498167,17449572304,37934196731,100001086804,56657322838,56657322841,100005294853,1938795,15595191653,15595191654,45923412989 | ||
|
||
# 地区id (不知道怎么获取的使用一下AreaTool.py工具) | ||
area = 19_1607_4773_0 | ||
# cookie | ||
cookies_String = shshshfpa=21a5db2 | ||
# 推送方式 1为邮箱,2为微信 | ||
messageTtpe =1 | ||
messageType =1 | ||
mail = [email protected] | ||
# sc_key 方糖微信推送的key 不知道的请看http://sc.ftqq.com/3.version | ||
|
@@ -19,10 +18,16 @@ sc_key = test | |
# 此时下单会要求输入六位数字的支付密码。请在下方配置你的支付密码,如 123456 。 | ||
# 如果没有上述情况,下方请留空。 | ||
payment_pwd = | ||
|
||
#暂时不填写 | ||
eid = | ||
fp = | ||
|
||
[V2] | ||
# skuids 英文逗号[,]相隔 (分清楚英文和中文逗号) 末尾不要带逗号 | ||
skuids = 65466451629,65437208345,7498169,7498165,7263128,7498167,17449572304,37934196731,100001086804,56657322838,56657322841,100005294853,1938795,15595191653,15595191654,45923412989 | ||
# V2版本下单速度区分 极速模式 【1】 和 正常模式 【2】(极速模式缩短不必要的流程) | ||
model = 2 | ||
|
||
[V3] | ||
# v3版本的skuid,最多写一件 | ||
skuid = 65466451629 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
cookies_String = 'xxxxxxx' | ||
|
||
# 推送方式 1(mail)或 2(wechat) | ||
messageTtpe = 1 | ||
messageType = 1 | ||
|
||
# 有货通知 收件邮箱 | ||
mail = '[email protected]' | ||
|
@@ -49,7 +49,7 @@ | |
fp = '' | ||
# 支付密码 | ||
payment_pwd = '' | ||
message = message(messageTtpe=messageTtpe, sc_key=sc_key, mail=mail) | ||
message = message(messageType=messageType, sc_key=sc_key, mail=mail) | ||
session = requests.session() | ||
session.headers = { | ||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/531.36", | ||
|
Oops, something went wrong.