Code Monkey home page Code Monkey logo

bilibilidailybonus's Introduction

Bilibili 活动打卡自动化

这个程序有什么用?

可以帮助你自动获取 B 站 "手书嘉年华" 和 "夏日音乐季" 两个活动每日奖励: 14 个硬币及投 10 个币获得的 50 经验值.

活动到 2020.09.01 结束, 要参加请尽快. :)

如何使用?

方法一 使用 Github Actions(最简单, 推荐)

可以参照这里的详细说明.(需要同时用到本网页和说明, 建议右键链接-在新标签页中打开.)

现在也更新了 B 站视频教程.

本项目需要设置的 Secrets:

名称 内容
ACCOUNT 你的B站用户名
PASSWORD 你的B站密码

本项目默认设置: 每天早上 8 点打卡签到.

方法二 使用 Docker 容器(相对方法一较复杂)

  1. 找一台安装好 Docker 的服务器
  2. 在任意目录下执行 git clone https://github.com/lyc8503/BilibiliDailyBonus && cd BilibiliDailyBonus
  3. 执行 docker build -t bilibili .
  4. 安装 Cron, 并使用 cron 每天执行 docker run --rm --env account=你的用户名 --env password=你的密码 bilibili

方法三 直接运行 Python(不推荐)

  1. 找任意一台安装好 Python 3.6 或以上版本的服务器
  2. 在任意目录下执行 git clone https://github.com/lyc8503/BilibiliDailyBonus && cd BilibiliDailyBonus
  3. 使用 pip 安装依赖库, 参考命令pip3 install requests rsa chardet
  4. 使用 Cron 每日执行 python3 daily_bonus.py

bilibilidailybonus's People

Contributors

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