Giter Club home page Giter Club logo

bilibili-toolkit's Introduction

- Bilibili Toolkit -

🛠️ 哔哩哔哩(B站)辅助工具箱,支持Cookie/Token/Password融合持久化登录与多用户操作

功能

组件 版本 描述
login 2019/12/22 登录
get_user_info 2019/9/15 获取用户信息
set_privacy 2018/7/24 修改隐私设置
silver_to_coin 2018/8/8 银瓜子兑换硬币
watch 2018/8/30 观看
like 2018/7/8 点赞
reward 2018/11/22 投币
favour 2018/6/20 收藏
combo 2018/12/18 三连推荐
share 2018/6/20 分享
follow 2018/7/8 关注
danmaku_post 2019/3/11 弹幕发送
comment_like 2018/6/27 评论点赞
comment_post 2019/8/3 评论发表
dynamic_like 2018/6/29 动态点赞
dynamic_repost 2019/3/11 动态转发
dynamic_purge 2019/3/11 动态清理
system_notice 2019/8/3 系统通知查询
mall_rush 2019/9/15 会员购抢购
mall_coupon 2019/3/3 会员购优惠卷领取
mall_order_list 2019/9/15 会员购订单列表查询
mall_coupon_list 2019/8/4 会员购优惠卷列表查询
mall_prize_list 2019/8/3 会员购奖品列表查询
live_prize_list 2019/8/3 直播奖品列表查询

使用指南

二进制版本

Release页面下载并解压与您的平台适配的压缩包,修改默认配置文件config.toml后运行可执行文件bilibili即可

若要加载非默认配置文件,将其路径作为命令行参数传入即可

源代码版本

  1. 克隆或下载本代码仓库,并修改默认配置文件config.toml
git clone https://github.com/Hsury/Bilibili-Toolkit.git
cd Bilibili-Toolkit
nano config.toml
  1. 安装Python 3.6/3.7,并使用pip安装依赖
pip install -r requirements.txt -U -i https://pypi.tuna.tsinghua.edu.cn/simple
  1. 启动脚本
python bilibili.py

Docker版本

  1. 安装Docker

  2. 下载默认配置文件config.toml并根据需求修改

  3. 启动容器,并挂载配置文件

docker run --rm -it -v [YOUR PATH TO CONFIG.TOML]:/app/config.toml zsnmwy/bilibili-toolkit

若要加载代理池,补充参数-v [YOUR PATH TO PROXY.TXT]:/app/proxy.txt以挂载代理列表文件

图形验证码识别API

使用CNN卷积神经网络构建,已实现对登录、评论验证码的自适应识别

requests.post("https://bili.dev:2233/captcha", json={'image': base64.b64encode(image).decode("utf-8")})

交流

QQ群:956399361

捐赠

作者在本项目的开发过程中投入了大量的时间与精力,且验证码识别服务器的运行也需要一定的成本

若本项目帮助到了您,为您带来了直接或间接的收益,不要吝啬请我喝几杯妹汁喔 (=・ω・=)

鸣谢

本项目的灵感与使用到的部分API来自以下项目:

czp3009/bilibili-api

许可证

Bilibili Toolkit is under The Star And Thank Author License (SATA)

本项目基于MIT协议发布,并增加了SATA协议

您有义务为此开源项目点赞,并考虑额外给予作者适当的奖励 ∠( ᐛ 」∠)_

bilibili-toolkit's People

Contributors

hsury avatar zsnmwy avatar

Watchers

James Cloos avatar  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.