Coder Social home page Coder Social logo

jd_wbbny's Introduction

京东穿行寻宝 一键完成任务脚本来袭

活动地址: https://wbbny.m.jd.com/pb/013349910/3rFiv8Sdkn7BPhk8Pw8xrgMWH6mT/index.html#/home


脚本使用方法:

1、python脚本,依赖requests库,需要将cookie放在ck.txt文件

pip install requests

2、参数设置

task_times     #循环任务次数,可以多跑几次没事
sleep_times  #间隔时间,默认在任务所需的基础上加,我设置的5s左右,看自己

3、脚本可以完成逛店,加购等任务

4、将py文件件跟ck.txt放一起运行,没ck.txt的自己创建个,多账号的话换行放cookie即可

5、本次增加了给作者助力的功能,不想助力输入n后回车即可

截图: 试了几个号暂时看着没啥问题,运行截图

Cookie抓取:
不会抓cookie的看这里
一、直接使用上传得软件打开后,京东扫二维码获取
二、利用浏览器抓包

1.推荐使用chrome浏览器,打开浏览器,按F12选择手机模式

2.浏览器的 User-Agent 必须包含 jdapp,设置含有jdapp的user-agent,设置完成【save后记得选择刚保存的user-agent】

exp:

jdapp;iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3

3.访问 https://wbbny.m.jd.com/pb/013349910/3rFiv8Sdkn7BPhk8Pw8xrgMWH6mT/index.html#/home 登录京东账号【save后记得选择刚保存的user-agent】

4.登录后,点击network,然后活动中的任务列表,在network中找到那个请求的接口,把Headers 中的Cookie复制出来,直接document出来的貌似失败

jd_wbbny's People

Contributors

xoyi avatar

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.