Comments (7)
谢谢,我明天查一下。
from jd-assistant.
hi,
最近有点忙不好意思,我测试了一下,发现代码目前还是能正常抢购的。
- 所有抢购活动都要登陆后才能进行。
- 在定时秒杀时,如果出现获取不到抢购地址的情况,多数时因为抢购的商品为新产品,抢购地址JD后台还没有配置进去。一般新产品第一次发售时,抢购地址是在抢购的前几分钟才能获取到;如果是老产品,那么就是随时能够获取到了。
https://marathon.jd.com/seckillnew/orderService/pc/init.action
该链接是用于获取抢购提交订单时的初始化数据的,不是用于获取秒杀地址的。该链接对应的方法自动调用,无需手动调用。
如果还有问题,欢迎联系[email protected]
~
from jd-assistant.
from jd-assistant.
请问你是修改过代码了吗?
jd-assistant.py
文件第930行,
原来的代码是:https://github.com/tychxn/jd-assistant/blob/master/jd_assistant.py#L930
default_address = init_info['addressList'][0] # 默认地址dict
你的代码是:
default_address = init_info['addressList'][1] # 默认地址dict
from jd-assistant.
的确改过了 因为init_info['addressList'][0]也是报错的这个 所以我改成了1 还是报错这个
from jd-assistant.
这个说明后台返回的地址信息为空,麻烦查一下是否将地址设置为默认地址。
from jd-assistant.
应该是我传参有问题 ,我又试了遍可以了 谢谢大佬
from jd-assistant.
Related Issues (20)
- 第二次提交才成功,第一次总是失败 HOT 1
- 想付费学习下
- 订单提交失败, 错误码:0, 返回信息:您选择的收货地址不支持当前的配送方式,请重新选择配送方式!(下单商品可能为第三方商品,将切换为普通发票进行尝试) HOT 11
- 请问有货提交订单案例中的地区ID在哪里能查看?
- _get_seckill_init_info error HOT 1
- 预约抢购提示加入购物车失败
- 能否请教下关于请求数据的格式,有哪些字段这个是怎么知道的?应该怎么学习呢?
- getTakId is not defined HOT 1
- 京东国际的商品无法提交订单,商品ID10031061737546 HOT 3
- 抢购为什么不支持支付,想请教一下 HOT 2
- 怎么用,能不能出个视频手把手交一下
- 请教一下,大佬的接口都是通过什么抓取的呢 HOT 1
- 现在这个脚本还可以使用吗
- 奇怪,界面和内容文件设10点执行,却2点执行了 HOT 2
- 安装时出错
- 问下各位大佬为什么会出现这种情况,感激不尽!! HOT 1
- 还在维护嘛? HOT 1
- eid, fp, track_id, risk_control参数获取失败 HOT 2
- 报非法的十六进制 HOT 3
- 有没大神知道这个报错是啥原因
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jd-assistant.