Giter Site home page Giter Site logo

zmyy-seckill's Issues

实际使用过程出现问题及建议

  1. 根据抓包获取的指定日期ID和接种点ID和时段ID可以通过conf.yaml设置预设,抢苗开始直接请求预约,不用再重新请求获取时段等,同时未预置ID时打开自动将获取的指定接种点ID保存到配置文件中;
  2. 超时程序会直接崩,建议加个超时重新请求;
  3. cloud.cn2030.com为yun.cn2030.com的代理服务器,流量最终到yun.cn2030.com,可以考虑设置多节点切换;

知苗

大佬,持续关注你的进度

fetch err:503

大佬,请问一下我在跑的时候出现fetch err:503是什么问题,能不能帮忙告知一下,谢谢了
image

大佬方便交流吗, 我最近也写了一个Java版本的。

同样使用的代理模式多线程发请求, 测试发现代理模式下, 从验证码一直到下预约单, 不能使用代理或者说必须是同一个IP的代理, 不然会返回408. 但是Token是唯一的, 另一条线程即使获取到验证码的guid, 同一条token下只能有一个guid对应, 其他线程的会失效. 所以归根结底, 在从获取验证码一直到下订单的时候只能单线程, 单IP操作.

不过我也试过偷鸡, 可以在开始前先获取GUID, 这个guid的有效时间测试中10分钟是有的.

但是最大的问题不是这个...最大的问题还是服务器拥堵的问题. 还没到点就拿不到预约时间的mxid了.....所以至今在服务器高压的情况下没抢成功过...请求不管多少次都是阻塞的.. 希望能讨论共同解决

MAC电脑环境配置问题

首先谢谢大佬的代码,其次想问一下,这个代码,Mac系统中是否无法正常使用,我编译时显示失败,同时,在config.go中,
"github.com/thedevsaddam/gojsonq/v2"
"gopkg.in/yaml.v2"
这些代码标红,显示错误!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.