Giter VIP home page Giter VIP logo

get_ccb's Introduction

脚本说明

  1. 已实现功能
    • 奋斗季主会场任务及领取奖励、升级建筑、好友助力
    • 龙支付分会场任务及领奖
    • 车主分会场任务及抽奖
    • 主会场天天抽奖
    • 每日一答,随机答题
    • 母亲节晒妈活动 开启分享及助力
    • 学外汇得实惠活动答题及抽奖
    • 越花越赚活动每日领奖
  2. TODO
    • 消息通知功能
  3. Cookie有效期6小时,使用keepAlive.py脚本定时调用活动接口,以延长Cookie有效期,具体持续时长待测试,感谢龙猪猪大佬提供思路

抓包说明

  1. 前往龙支付奋斗季主会场,使用手机号登陆并报名首页天天抽奖活动

  2. 在Cookie中抓取XSRF-TOKEN_session参数并填入配置文件

使用方法

  1. 安装git和python3

  2. 克隆仓库

    git clone https://github.com/leeyiding/get_CCB.git && cd get_CCB
    
  3. 安装依赖

    pip3 install pip -U
    pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
    pip3 install -r requirements.txt
    
  4. 复制配置文件模板

    cp ./config.sample.json ./config.json
    

    配置文件示例

    {
        "cookie": [
     		//账户1   
            {
                "XSRF-TOKEN": "",
                "_session": ""
            },
            //账户2
            {
                "XSRF-TOKEN": "",
                "_session": ""
            }
        ],
        "shareCode": {
             //奋斗季互助码   
            "common": [
               //助力码1
                "",
                //助力码2
                "",
            ],
             //母亲节活动互助码   
            "motherDay": [
                //助力码1
                "",
                //助力码2
                "",
            ]
        }
    }
    
  5. 添加定时任务

    keepAlive.py每三小时运行一次 main.py每天早晨、晚上各运行一次,尽量不要凌晨运行、不要选择整点运行

get_ccb's People

Contributors

leeyiding avatar sparkssssssss 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.