Bilibili assistant





Introduction to the

👯 ✨ 😄 📫

Bilibili (B station) automatically completes daily tasks, coins, likes, live check-ins, automatically converts silver melon seeds into coins, automatically sends out expired gifts, signs in comic App, big members get B coin rolls, etc. Gain 65 xp per day, helping you quickly level up to Lv6.

Open source is not easy, if this project is helpful to you, then please give a star. 😄

function

  • Get experience automatically (coin, like, share video)
  • Live assistance (live check-in, automatic delivery of expired gifts)
  • Automatically exchange silver melon seeds for coins
  • Automatically receive monthly benefits of annual big member (B-coin coupon, gift package)
  • At the end of the month, I automatically charge myself with b-coin coupons
  • Comic Auxiliary Script (Comic APP check-in)
  • Users can customize the configuration file
  • Account Expiration Reminder

Method of use

1. The fork the project

Address: SRCRS /BilibiliTask

2. Prepare required parameters

The successful operation of this project requires three parameters, namely SESSDATA, bili_jct and DedeUserID

  • Open the homepage of site B (any page will do) –> F12 –> Application –> Cookies –> https://www.bilibili.com

  • If you cannot find the required parameter, your account may not be logged in.

3. Fill in Secrets for the obtained parameters

The format of Name and Value in Secrets is as follows:

Name Value
BILI_JCT xxxxx
DEDEUSERID xxxxx
SESSDATA xxxxx

Replace the parameter obtained in the previous step with the corresponding XXXXX. A total of three key value pairs need to be added.

4. Open the actions

Actions is disabled by default. Turn on actions in the Actions TAB and click on the long green button.

5. Run the workflow once

Creating a Wiki for a project triggers a workflow.

  • Wiki –> Create the first –> Save Page

  • If you look at actions and check them, it’s successful. It will be executed at 10:30 every day to automatically complete daily tasks.

Configuration File Description

The location of the configuration files in the SRC/main/resource/config. Yml.

coin: 5 # number of coins needed per day, range: [0,5]
gift: true Send a gift that is about to expire. Default is true
s2c: true # Silver coins converted to coins, default converted to true
autoCharge: true Whether to allow the end of the b-coin roll to charge their own
Copy the code

How do I pull up to date code

1. Check whether there is an alias and address of the source repository

$ git remote -v
origin  https://github.com/cmdcs/BilibiliTask.git (fetch)
origin  https://github.com/cmdcs/BilibiliTask.git (push)
upstream  https://github.com/srcrs/BilibiliTask (fetch)
upstream  https://github.com/srcrs/BilibiliTask (push)
Copy the code

Origin is your repository address and upstream is the source repository for your fork. There is usually no upstream the first time.

2. Add source repository

git remote add upstream https://github.com/srcrs/BilibiliTask
Copy the code

3. Pull updates from main branch of upstream warehouse to local

git pull upstream main
Copy the code

4. Push the updated code to your repository

git push origin main 
Copy the code

Yml may overwrite your custom config.yml due to the added config file.

Update log

2020-10-19

  • Increase annual large membership to receive B coin roll on 1st of every month

  • At the end of the month, I automatically charge myself with b-coin coupons

  • Add the switch whether to charge yourself with B coin roll at the end of the month in the configuration item, which is enabled by default

Since I am not an annual big member myself, I cannot test whether I can receive the annual big member’s rights and B coin roll normally. If anything goes wrong, please send me an issue, AND I will solve it in time.

2020-10-17

  • Optimizing log display

  • Add account expiration reminder

If the account is invalid, the task flow fails to run. Github sends an email reminding you of the failure.

2020-10-13

  • Refactor the code with the same functionality

  • Use reflection to automatically load task package function task code.

  • Add the configuration file to allow users to customize some configurations

2020-10-08

  • Added automatic sending of expired gifts

  • Added comic APP check-in

  • Add some APIS

2020-10-07

  • Add silver melon seeds automatic coin exchange function

2020-10-06

  • Add live check-in to station B

  • Keep adding apis

2020-10-05

  • Complete the automatic experience acquisition function

Log in every day, watch videos every day, coin every day, share every day

  • Perfect buttapiinterface

Refer to the project

happy888888/BiliExp