Git Product home page Git Product logo

bilibililottery's Introduction

转发动态原理是爬取某个用户的页面,获取数据跟着转发,前提条件是这个人只转发抽奖,并且重复度不高

活动抽奖原理是抓取up主转发抽奖娘更新的最新抽奖列表

日志报错无视就好,只要程序没中断

使用方法

更改config/bilibili.go下的配置参数:SESSDATA,BUVID3,CSRF,BILIBILI_UID,ANIO,MY,更改config/db.go下的数据库

命令

抽奖只能一天获取一次,并且根据获取到的抽奖次数进行抽奖,一天运行一次即可

go run main.go -get 获取活动抽奖页面数据 go run main.go -doupdate 更新抽奖机会 go run main.go -dorun 开始抽奖

转发

go run main.go -zhuanfa 开始获取数据,转发,评论,关注,点赞 go run main.go -del 删除动态,该功能默认删除第二页数据第一条,原因是觉得有些抽奖工具是根据动态数量判断的,所以定期删掉一些动态

bilibililottery's People

Contributors

silie666 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.