【抢券助手】【教程更新】如何提取京东优惠券链接

如果没有技术基础,也不太想研究页面代码的,可以直接去我的抢券链接,内置了部分热门的京东优惠券抢券代码

http://118.24.113.238/Home/GrabCoupon

使用方法:

http://www.zuanke8.com/thread-4449839-1-1.html

http://www.zuanke8.com/thread-4455563-1-1.html

下面进入正题

618的时候写过一个提取京东优惠券链接的教程,但是可能是被京东发现了,里面的两种方法都失效了,原文在此:

http://www.zuanke8.com/thread-4994991-1-1.html

所以这几天空了就研究下京东修改后的策略,更新如下:

准备工作

电脑(windows or mac均可)

Chrome浏览器(其他chrome内核的浏览器理论上都可以,不过不太用,本文以chrome为例)

找到领券的页面,最好是手机版

首先需要找到领券的页面,需要点击后页面内弹出是否领取成功的那种,以京东全球购188-111为例,则是下面这个页面

https://pro.m.jd.com/mall/active/2LovezFnAMmWhaGCD4hDaF29WJTv/index.html?has_native=0&

Chrome调用代码窗口,监听网络请求

在chrome浏览器按F12(macOS是按option + command + i),调用代码窗口,切换到Network tab,如下图:

点击优惠券链接,这个窗口会监听到类似client.action的请求,如下图:

点击该请求,可以看到请求的地址,一般是以api.jd.com开头的链接,复制下来,例子中的188-111的链接如下:

https://api.m.jd.com/client.acti ... abelAwardCollection

继续查看这个请求,由于是post方式提交的,往下拉可以找到以form data提交的数据,如下图:

由于要拼凑成链接,所以需要吧内容URLencode,再接上body。点击view source即可生成,具体的代码如下:

body=%7B%22activityId%22%3A%222LovezFnAMmWhaGCD4hDaF29WJTv%22%2C%22from%22%3A%22H5node%22%2C%22scene%22%3A%221%22%2C%22args%22%3A%22key%3D48914b73954746658480c8f6520794a5%2CroleId%3D15197858%22%2C%22platform%22%3A%223%22%2C%22orgType%22%3A%222%22%2C%22openId%22%3A%22-1%22%2C%22pageClickKey%22%3A%22Babel_Coupon%22%2C%22eid%22%3A%22ALGSMIJGDBYWJOA7PSBB4RQ4B7UKRYCJAL7SB3LUZL5XNPYJZZQSH3CL2T2KMLHZHKQUOOLYDAKMNRAROPYLVQBGLY%22%2C%22fp%22%3A%22e9588d2c6c2cbe6b85a2052526969fbf%22%2C%22shshshfp%22%3A%22416c593e2277eb3ea9b917766affad11%22%2C%22shshshfpa%22%3A%2203b6dcd8-0236-2682-f34b-d1b1816853a0-1532958855%22%2C%22shshshfpb%22%3A%220877f749833f213644637e5eca8cf4471b229d99861370bf55b193a0b3%22%2C%22childActivityUrl%22%3A%22https%253A%252F%252Fpro.m.jd.com%252Fmall%252Factive%252F2LovezFnAMmWhaGCD4hDaF29WJTv%252Findex.html%253Fhas_native%253D0%2526%22%2C%22mitemAddrId%22%3A%22%22%2C%22geo%22%3A%7B%22lng%22%3A%22%22%2C%22lat%22%3A%22%22%7D%2C%22addressId%22%3A%22%22%2C%22posLng%22%3A%22%22%2C%22posLat%22%3A%22%22%2C%22focus%22%3A%22%22%2C%22innerAnchor%22%3A%22%22%7D&client=wh5&clientVersion=1.0.0&sid=&uuid=1528379937610849385846&area=

复制代码

将这个代码拼接到刚才复制的

https://api.m.jd.com/client.acti ... abelAwardCollection

链接上,中间加上“&”,即真正的领券链接,完整链接如下:

https://api.m.jd.com/client.action?functionId=newBabelAwardCollection&body=%7B%22activityId%22%3A%222LovezFnAMmWhaGCD4hDaF29WJTv%22%2C%22from%22%3A%22H5node%22%2C%22scene%22%3A%221%22%2C%22args%22%3A%22key%3D48914b73954746658480c8f6520794a5%2CroleId%3D15197858%22%2C%22platform%22%3A%223%22%2C%22orgType%22%3A%222%22%2C%22openId%22%3A%22-1%22%2C%22pageClickKey%22%3A%22Babel_Coupon%22%2C%22eid%22%3A%22ALGSMIJGDBYWJOA7PSBB4RQ4B7UKRYCJAL7SB3LUZL5XNPYJZZQSH3CL2T2KMLHZHKQUOOLYDAKMNRAROPYLVQBGLY%22%2C%22fp%22%3A%22e9588d2c6c2cbe6b85a2052526969fbf%22%2C%22shshshfp%22%3A%22416c593e2277eb3ea9b917766affad11%22%2C%22shshshfpa%22%3A%2203b6dcd8-0236-2682-f34b-d1b1816853a0-1532958855%22%2C%22shshshfpb%22%3A%220877f749833f213644637e5eca8cf4471b229d99861370bf55b193a0b3%22%2C%22childActivityUrl%22%3A%22https%253A%252F%252Fpro.m.jd.com%252Fmall%252Factive%252F2LovezFnAMmWhaGCD4hDaF29WJTv%252Findex.html%253Fhas_native%253D0%2526%22%2C%22mitemAddrId%22%3A%22%22%2C%22geo%22%3A%7B%22lng%22%3A%22%22%2C%22lat%22%3A%22%22%7D%2C%22addressId%22%3A%22%22%2C%22posLng%22%3A%22%22%2C%22posLat%22%3A%22%22%2C%22focus%22%3A%22%22%2C%22innerAnchor%22%3A%22%22%7D&client=wh5&clientVersion=1.0.0&sid=&uuid=1528379937610849385846&area=

复制代码

拿到领券地址怎么抢呢

这个时候我做的抢券工具就派上用场了,进入

http://118.24.113.238/Home/GrabCoupon

里面有个添加自定义链接抢券的地方,吧优惠券添加进去,名称随便写自己能辨识的标识就可以抢券了。。。

以上,有需要的可以找我帮忙提取优惠券链接,留言即可

kevinzhang2237    #1


mk

欧年刚    #2


MK

xmcx888    #3


http://a.jd.com/coupons.html?cat=14&ct=4&page=2&st=2

领券中心的券,怎么获取地址?

fjj772    #4


MK,留用~

sdilrll2    #5


采集自:http://www.zuanke8.com/thread-5387508-1-1.html