Giter VIP home page Giter VIP logo

bilibili_checkin's Introduction

BiliBili签到-腾讯云函数

GitHub issues GitHub forks GitHub stars Python

实现功能

  • 获取用户信息
  • 直播签到
  • 漫画签到
  • 投币
  • 分享视频
  • 每日看视频
  • 多账户支持

步骤

  1. 点击进入腾讯云控制台

  2. 点击新建

    5gOxG8.png

  3. 自定义创建-函数名称随意-改执行方法为 index-main

    5gOvPf.png

  4. 在线编辑或者本地上传zip包都可以(上传zip包注意不要直接上传github上下载的,因为解压后代码不在一级目录下)

    I3xpgP.png

参数

需要将参数填写至环境变量处

5gTYut.png

5gTMND.png

key 类型 value 描述
Cookies 必填 - 多账户使用 , 分割
push_type 选填 0 1 2 3 推送类型,默认不推送
bid 选填 默认 BV1if4y1g7Qp 每日观看视频的 BV 号
want_watch 选填 0 或 1 是否进行每日观看
want_coin_num 选填 推荐不多于 5 个 每天投多少个硬币
因为只有前5个有经验
投币视频随机
want_share_num 选填 0 或 1 是否进行视频分享
want_comics_checkin 选填 0 或 1 是否进行漫画签到
want_lb_checkin 选填 0 或 1 是否进行直播签到

手动退出 bilibili 时 cookies 会失效

每个 cookies 需要在末尾加一个 ; 因为需要用正则表达式获取 uid、sid、csrf,但是 cookies 里这些排序是乱的,有时候放到末尾没有 ; 这样就不匹配正则表达式,存在找不到 csrf 的问题,导致 csrf 校验问题...

如果您有更好的正则表达式欢迎 pr 给我

企业微信推送必填

key description
AgentId 应用 ID
Secret 应用密钥
Touser 不填默认 @all
EnterpriseID 企业 ID

push_type

key description
0 不使用推送
1 企业微信
2 server 酱
3 pushplus

参考资料

  1. sanshuifeibing/ExampleForSCF
  2. kamiyan233/bilibili-helper

bilibili_checkin's People

Contributors

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