huaisha1224 / jd-assistant Goto Github PK
View Code? Open in Web Editor NEW京东抢购助手:包含登录,查询商品库存/价格,添加/清空购物车,抢购商品(下单),查询订单、查询本地生活服务订单验证码状态查询等
License: MIT License
京东抢购助手:包含登录,查询商品库存/价格,添加/清空购物车,抢购商品(下单),查询订单、查询本地生活服务订单验证码状态查询等
License: MIT License
商品测试链接:https://item.jd.com/69826773961.html
areaid正常
生成的二维码,京东APP不识别
商品编号:100021558776 一直提示错误
在控制台执行js报错,也没找到这两个的值,请问大佬该怎么获取
那个定时抢购是不能用嘛?
不能用我就白搞了
大佬,偷偷拉个群吧,趁人不多,一起分享撸货路子,也可以避免脚本泛滥
3.1.1和3.1.2运行正常,3.1.3就没正常过一次。3.1.3报错如下:
2021-10-05 17:21:50,952 INF0:登录成功
2021-10-05 17:21:50,952 INF0:下单模式:[ 100014348492 〕任一商品有货并且末下架均会尝试下单
2021-10-05 17:21:51,445 ERROR: 查询 100014348492 库存信息发生异常,resp: jQuery6961229(f" StockState" :33,”area": f"townName":mm,"provinceName ":“北京","cityName " :"朝阳区
, "success": true, "countyName":"=FIr"}, "realSkuId":100014348492, "choseSuit": [], "code":1, "err": true, "PopType":©, "ArrivalDate":null, "IsPurchase": false,
"StockStateName": "A#", "rn": -1}), exception: 'NoneType' object has no attribute
请问何解
trackid 可以通过cookie找到
可以用手机验证码登陆cookie替换一下 据说可以用一个月
我看cookie文件是加密的,你替换成功了?
Originally posted by @YvoIovY in #10 (comment)
订单提交失败, 错误码:0, 返回信息:您选择的收货地址不支持当前的配送方式,请重新选择配送方式!(下单商品可能为第三方商品,将切换为普通发票进行尝试)
老哥,请问这个问题如何解决??
请问还在维护吗,现在碰到一个问题
Traceback (most recent call last):
File "D:\tb\jd-assistant-main\main.py", line 16, in
asst.buy_item_in_stock(sku_ids=sku_ids, area=area, wait_all=False, stock_interval=2) # 根据商品是否有货自动下单
File "D:\tb\jd-assistant-main\util.py", line 220, in new_func
return func(self, *args, **kwargs)
File "D:\tb\jd-assistant-main\jd_assistant.py", line 1396, in buy_item_in_stock
if not self.if_item_can_be_ordered(sku_ids={sku_id: count}, area=area_id):
File "D:\tb\jd-assistant-main\util.py", line 220, in new_func
return func(self, *args, **kwargs)
File "D:\tb\jd-assistant-main\jd_assistant.py", line 608, in if_item_can_be_ordered
return self.get_single_item_stock(sku_id=sku_id, num=count, area=area_id)
File "D:\tb\jd-assistant-main\jd_assistant.py", line 438, in get_single_item_stock
cat = match.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
如能回复,感激不尽
无限提示:ERROR: 查询 10020753466576 库存信息发生异常, resp: jQuery2625839({"StockState":33,"area":{"townName":"","provinceName":"北京","cityName":"朝阳区","success":true,"countyName":"三环以内"},"realSkuId":10020753466576,"choseSuit":[],"code":1,"err":true,"PopType":0,"ArrivalDate":null,"IsPurchase":false,"StockStateName":"有货","rn":-1}), exception: 'NoneType' object has no attribute 'get'
获取trackid报错是什么情况啊,
VM402:3 Uncaught ReferenceError: getTakId is not defined
at :3:15
2021-09-09 07:30:00,433 INFO: 订单提交失败, 错误码:0, 返回信息:您选择的收货地址不支持当前的配送方式,请重新选择配送方式!(下单商品可能为第三方商品,将切换为普通发票进行尝试)
这个是通病呀,能不能想个办法解决一下???
如题
如题!谢谢
trackid
risk_control
在结算页面,f12,网络那个数据搜索并获取不到
ps:作者接批量号定制吗
有什么办法解决吗??没改时间之前的版本,可以正常运行,这个版本一直闪退,无法正常使用
这个可以定时下单 好像找不到哪里设置的
购物车会重复加车是因为购物车信息获取不到吗?
目前看起来库存接口已经失效了
最新版本,就是时间可以同步版本,运行成功以后闪退,定时抢购
大佬还更新吗,有偿求更新
参照wiki上面常用问题的代码
var eid = $('#eid').val(); var fp = $('#fp').val(); var trackId = getTakId(); var riskControl = $('#riskControl').val(); console.log(
eid = ${eid}\nfp = ${fp}\ntrack_id = ${trackId}\nrisk_control = ${riskControl});
但是提示getTakId不存在!
为啥第一次下单总是会出现“ 订单提交失败, 错误码:0, 返回信息:您选择的收货地址不支持当前的配送方式,请重新选择配送方式!(下单商品可能为第三方商品,将切换为普通发票进行尝试) ”的提示,订单页面已经设置为电子普通发票并选择了在线支付,还是会出现这个问题,求解
订单提交失败, 错误码:0, 返回信息:您选择的收货地址不支持当前的配送方式,请重新选择配送方式!(下单商品可能为第三方商品,将切换为普通发票进行尝试)
真的有没有办法解决一下这个问题啊,抢购的时候总是这样,太难受了,求解决办法,谢谢
抢购时候提示切换普通发票。 932行添加self._save_invoice()还是不行
2021-09-20 05:53:31,593 ERROR: 查询 10035609495012 库存信息发生异常, resp: jQuery8508540({"StockState":33,"area":{"townName":"","provinceName":"北京","cityName":"朝阳区","success":true,"countyName":"三环以内"},"realSkuId":10035609495012,"choseSuit":[],"code":1,"err":true,"PopType":0,"ArrivalDate":null,"IsPurchase":false,"StockStateName":"有货","rn":-1}), exception: 'NoneType' object has no attribute 'get'
参数填写之后,打不开main,一直卡着是怎么回事。
按照大佬方法进行测试侯显示为空
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.