bilibili-coin-show hand ,自动参与哔哩哔哩游戏赛事预测,赚取硬币,B站游戏竞猜,赚硬币。

Overview

bilibili-match-prediction

工具简介

这是一个利用 Linux Crontab , GitHub Action 等方式实现哔哩哔哩(Bilibili)赛事预测的工具,用于每日赚取硬币。 如果觉得好用,顺手点个 Star 吧

仓库地址:JunzhouLiu/bilibili-match-prediction

请不要滥用相关API,让我们一起爱护B站

功能列表

  • 每天上午 9 点 10 分自动开始任务。【运行时间可自定义】
  • 支持推送执行结果到微信,钉钉,飞书等
  • 每日自动参与当天的赛事预测,默认每次预测5硬币。
  • 原型机按照赔率预测,简单说就跟着人多的压。 点击快速开始使用

点击快速查看自定义功能配置

目录

使用说明

一、Actions 方式

  1. Fork 本项目
  2. 获取 Bilibili Cookies
  3. 浏览器打开并登录 bilibili 网站
  4. 按 F12 打开 「开发者工具」 找到 应用程序/Application -> 存储 -> Cookies
  5. 找到 bili_jct SESSDATA DEDEUSERID 三项,并复制值,创建对应的 GitHub Secrets。

图示

  1. 点击项目 Settings -> Secrets -> New Secrets 添加以下 3 个 Secrets,其中server酱微信推送的sckey可参阅微信订阅通知
Name Value
DEDEUSERID 从 Cookie 中获取
SESSDATA 从 Cookie 中获取
BILI_JCT 从 Cookie 中获取
SCKEY server酱推送的sckey(兼容Turbo版本)

图示

  1. 开启 Actions 并触发每日自动执行

Github Actions 默认处于关闭状态,还大家请手动开启 Actions ,执行一次工作流,验证是否可以正常工作。

图示

Fork 仓库后,默认不自动执行 Actions 任务,请修改 src/resources/config.json 文件,将 skipDailyTask 的值改为 false,这样每天就会自动执行定时任务了。

{
- "skipDailyTask": true
+ "skipDailyTask": false
}

如果需要修改每日任务执行的时间,请修改 .github/workflows/auto_task_bilili.yml,在第 12 行左右位置找到下如下配置。

  schedule:
    - cron: '30 10 * * *'
    # cron表达式,Actions时区是国际时间,国际时间10点的时候,国内时间是18点。
    # 示例: 每天晚上22点30执行 '30 14 * * *'

本工具的 Actions 自动构建配置了缓存,平均运行时间在 20s 左右。

如果收到了 GitHub Action 的错误邮件,请检查 Cookies 是不是失效了,用户修改密码、踢除设备下线,会导致 BILI_JCTDEDEUSERID 失效

请各位使用 Actions 时务必遵守Github条款。不要滥用Actions服务。

Please be sure to abide by the Github terms when using Actions. Do not abuse the Actions service.

查看 Actions 运行日志

三、使用 Linux Crontab 方式

  1. 在linux shell环境执行以下命令,并按照提示输入SESSDATA,DEDEUSERID,BILI_JCT,SCKEY四个参数

订阅执行结果

Server酱Turbo版

目前Turbo版本的消息通道支持以下渠道

  • 企业微信应用消息
  • Android,
  • Bark iOS,
  • 企业微信群机器人
  • 钉钉群机器人
  • 飞书群机器人
  • 自定义微信测试号
  • 方糖服务号
  1. 前往 sct.ftqq.com 点击登入,创建账号。
  2. 点击点SendKey ,生成一个 Key。将其增加到 Github Secrets 中,变量名为 SCKEY
  3. 配置消息通道 ,选择方糖服务号,保存即可。
  4. 推送效果展示 图示

旧版推送渠道 sc.ftqq.com 即将与4月底下线,请前往 sct.ftqq.com 生成Turbo版本的Key,注意,申请Turbo版Key后请配置消息通道,如果想沿用以前的推送方式,选择方糖服务号即可

PushPlus(Push+)

1.前往PushPlus获取Token

2.在Github Secrets中的SCKEY参数更新成获取到的Token

3.完成

Telegram订阅执行结果

1.在Telegram中添加BotFather这个账号,然后依次发送/start /newbot 按照提示即可创建一个新的机器人。记下来给你生成的token。

2.搜索刚刚创建的机器人的名字,并给它发送一条消息。

特别注意:需要先与机器人之间创建会话,机器人才能下发消息,否则机器人无法主动发送消息,切记!

3.在Telegram中搜索userinfobot,并给它发送一条消息,它会返回给你chatid。

4.在Github Secrets中删除SERVERPUSHKEY,添加TELEGRAMBOTTOKEN,TELEGRAMCHATID。

免责声明

  1. 本工具不会记录你的任何敏感信息,也不会上传到任何服务器上。(例如用户的cookies数据,cookies数据均存在Actions Secrets中或者用户自己的设备上)
  2. 本工具不会记录任何执行过程中来自b站的数据信息,也不会上传到任何服务器上。(例如av号,bv号,用户uid等)。
  3. 本工具执行过程中产生的日志,仅会在使用者自行配置推送渠道后进行推送。日志中不包含任何用户敏感信息。
  4. 如果有人修改了本项目(或者直接使用本项目)盈利恰饭,那和我肯定没关系,我开源的目的单纯是技术分享。
  5. 如果你使用了第三方修改的,打包的本工具代码,那你可得注意了,指不定人就把你的数据上传到他自己的服务器了,这可和我没关系。(网络安全教育普及任重而道远

本工具源码仅在JunzhouLiu/BILIBILI-HELPER 开源,其余的地方的代码均不是我提交的,可能是抄我的,借鉴我的,但绝对不是我发布的,出问题和我也没关系。 7. 我开源本工具的代码仅仅是技术分享,没有任何丝毫的盈利赚钱目的,如果你非要给我打赏/充电,那我就是网络乞丐,咱们不构成任何雇佣,购买关系的交易。 8. 本项目不会增加类似于自动转发抽奖,秒杀,下载版权受限视频等侵犯UP主/B站权益的功能,开发这个应用的目的是单纯的技术分享。下游分支开发者/使用者也请不要滥用相关功能。 9. 本项目欢迎其他开发者参与贡献,基于本工具的二次开发,使用其他语言重写都没有什么问题,能在技术上给你带来帮助和收获就很好. 10. 本项目遵守MIT License,请各位知悉。

致谢

感谢 JetBrains 对本项目的支持。

JetBrains

You might also like...

SpringBoot show case application for reactive-pulsar library (Reactive Streams adapter for Apache Pulsar Java Client)

Reactive Pulsar Client show case application Prerequisites Cloning reactive-pulsar Running this application requires cloning https://github.com/lhotar

Nov 10, 2022

Show git commit logs in NetBeans

Show git commit logs in NetBeans

gitlogbeans Description Show git commit logs in NetBeans Apache NetBeans and JDK Compatibility JDK = 9 Apache NetBeans = 9.0 Plugin is available at

Jul 13, 2022

Everything I code in java / Learn in Java I will post here to show my Progress :)

Everything I code in java / Learn in Java I will post here to show my Progress :)

This repository contains all the codee i have written or used to help me learn This is going to be a repository that holds the source files for codene

Jan 10, 2022

A simple quarkus app with hibernate as ORM, used to show the features of Hibernate Search

beer-manager-hibernate-search Project This project uses Quarkus, the Supersonic Subatomic Java Framework. If you want to learn more about Quarkus, ple

Jan 6, 2022

This project was created as a simple example to show how we can implement the hexagonal architecture(software design) proposed by Netflix.

This project was created as a simple example to show how we can implement the hexagonal architecture(software design) proposed by Netflix.

Netflix Hexagonal Architecture Table of contents About the project Description Built with Installation Requirements to run Usage information Run Licen

Dec 20, 2022

This is simple project to show how to create a basic API using Java 11 + Maven + Spring Boot + PostgrSQL + Flyway.

This is simple project to show how to create a basic API using Java 11 + Maven + Spring Boot + PostgrSQL + Flyway.

Dec 10, 2022

Blocking the your minecraft plugins to show from server member

BSP Blocking your minecraft server plugins to show. 한국어 README Features Blocking your minecraft server plugins to show. Custom Events. Install Install

Jan 22, 2022

A simple, lightweight, safe way to show your user's Spotify now playing in game

Spigotify A simple, lightweight, safe way to show your user's Spotify now playing in game! Installation Install PlaceholderAPI. Install Spigotify Add

Mar 14, 2022

A short assembly macro-processor script to simulate the process and show the different stages

A short assembly macro-processor script to simulate the process and show the different stages

Mar 9, 2022

An example to show how you could use clean architecture and DDD elements with Camunda.

An example to show how you could use clean architecture and DDD elements with Camunda.

Camunda DDD and Clean Architecture An example to show how you could use clean architecture and DDD and their advantages with Camunda. I also wrote a b

Dec 15, 2022
Releases(V1.0.5)
Owner
Junzhou Liu
Student / Java Developer
Junzhou Liu
A short assembly macro-processor script to simulate the process and show the different stages

A short assembly macro-processor script to simulate the process and show the different stages

Neopentene 2 Mar 9, 2022
Crypto-Exchange / Coin-Exchange /BitExchange

Crypto-Exchange / Coin-Exchange /BitExchange

null 28 Aug 1, 2022
An advanced coin plugin for spigot.

rCoins Description rCoins is an advanced coin system which has a great api. For developers If you need to use API of rCoins, you can use maven or grad

RIN 7 Sep 22, 2022
这是一个利用 Linux Crontab , Docker等方式实现哔哩哔哩(Bilibili)每日任务投币,点赞,分享视频,直播签到,银瓜子兑换硬币,漫画每日签到,简单配置即可每日轻松获取 65 经验值,快来和我一起成为 Lv6 吧~~~~

BILIBILI-HELPER 工具简介 这是一个利用 Linux Crontab ,云函数, Docker 等方式实现哔哩哔哩(Bilibili)每日任务投币,点赞,分享视频,直播签到,银瓜子兑换硬币,漫画每日签到,简单配置即可每日轻松获取 65 经验值,快来和我一起成为 Lv6 吧~~~~ 如果

Junzhou Liu 276 Oct 4, 2021
bilibili B站 哔哩哔哩 acfun A站 樱花动漫 番剧下载器(Video Downloader):smiley:​ 仅供学习交流 求 star orz

AnimeDownloader 番剧下载器 ?? 使用教程 下载 B 站视频 支持的类型 普通视频(不支持互动类视频) 番剧(大会员视频需要先登录) 电影 纪录片 ... 下载 A 站视频 支持类型 普通视频 番剧(不支持付费视频) 下载樱花动漫视频 支持类型 部分支持(加密的 m3u8 类型视频不

lin 71 Dec 16, 2022
这是一个自动化的托管系统,目前支持网易云,bilibili,米游社原神签到,测试地址https://auto.oldwu.top

AutoPlan_Helper 这是一个自动化的托管系统,目前支持网易云签到刷歌,bilibili,米游社原神签到 目前项目属于测试阶段,可能会有些莫名其妙的bug,敬请谅解 如果觉得好用,点个star吧 开源地址 wyt1215819315 / autoplan 目前已经实现 b站每日自动经验任务

null 501 Jan 1, 2023
A library for JavaFX that gives you the ability to show progress on the Windows taskbar.

A clean and easy way to implement this amazing native Windows taskbar-progressbar functionality in javaFX Background Since Windows 7 there is a taskba

Daniel Gyoerffy 77 Nov 28, 2022
Show Geyser's players' skins on your server!

GeyserSkinManager There is currently no config - drop in and it works! Known caveats: Only tested on Paper and Spigot 1.16+. 1.13 might break, but thi

Camotoy 50 Dec 6, 2022
An MIT AI2 extension to allows developers to show media style notifications for their applications.

Media Notifications An MIT AI2 extension to allows developers to show media style notifications for their applications.

Shreyash Saitwal 5 Jan 7, 2023
Toaster library to show Toasts with very less code

ToasterLibrary Step 1. Add the Toaster Library to your build file Add it in your root build.gradle at the end of repositories: allprojects { reposit

Sujeet Thakur 4 May 16, 2021