Skip to content

Releases: Nemo2011/bilibili-api

v12.3.0

11 Sep 23:14
Compare
Choose a tag to compare

12.3.0 2022/9/12

  • 【破坏修改】ass.make_ass_file_danmakus_xml() 参数顺序有变,credential 参数去除
  • 【破坏修改】将以下类的以下属性改为私有属性:
    • audio.Audio
      • self.auid
    • audio.AudioList
      • self.amid
    • article.Article
      • self.cvid
    • bangumi.Bangumi
      • self.media_id
      • self.ssid
    • bangumi.Episode
      • self.epid
    • cheese.CheeseList
      • self.season_id
      • self.ep_id
    • cheese.CheeseVideo
      • self.aid
      • self.cid
      • self.meta
    • comment.Comment
      • self.oid
      • self.rpid
      • self.type_
    • dynamic.Dynamic
      • self.dynamic_id
    • favorite_list.FavoriteList
      • self.type
      • self.media_id
    • user.User
      • self.uid
  • login.login_with_password 的 rsa 加密由 Crypto 迁移至 rsa (因为 Crypto 依赖 C 语言, rsa 是纯 python 的,可以免去安装时对 C 库的编译)
  • 新增 SpecialDanmaku 类(BAS 弹幕 & 代码弹幕)
  • video.Video 新增 get_special_danmakus
  • 新增有关客户端 IP 的模块 client.py
  • 新增有关表情包的模块 emoji.py

v12.2.2

07 Sep 23:19
Compare
Choose a tag to compare

紧急修复

v12.2.0

07 Sep 10:37
Compare
Choose a tag to compare

12.2.0 2022/09/07

  • 【破坏修改】interactive_video.py 所有函数整合至 InteractiveVideo
  • 新增 InteractiveGraph 情节树支持

v12.1.0

28 Aug 06:54
Compare
Choose a tag to compare

12.1.0 2022/08/28

  • 【破坏修改】ass.py 中的所有函数的 bvid 参数改为 obj 参数, 类型为· Union[Video, Episode, CheeseVideo]
  • 【破坏修改】ass.make_ass_file_from_danmaku_xml -> make_ass_file_danmakus_xml
  • 【破坏修改】bangumi.Bangumi:
    • async def get_media_id -> def get_media_id
    • async def get_season_id -> def get_season_id
    • async def set_media_id -> def set_media_id
    • async def set_ssid -> def set_ssid
  • 【破坏修改】cheese.CheeseList.get_list 返回结果类型由 dict 转换成 List[CheeseVideo]
  • cheese.CheeseVideo 新增 get_epid & get_danmaku_xml
  • dynamic.upload_image 转为通过 httpx 实现(#41)
  • live.py 将所有的除了 websocket 以外其他所有的网络函数换成基于 httpx 的实现
  • 修复 Danmakus 类的 bug
  • 修复 parse_link 的 bug
  • 新增 video.VIDEO_QUALITY, video.VIDEO_CODECS, video.AUDIO_QUALITY 数据
  • 修复 video.Video.get_danmaku_xml 的 bug

v12.0.0

22 Aug 05:25
Compare
Choose a tag to compare

12.0.0 2022/08/22

  • 【破坏修改】删除 Danmaku.crack_uid
  • 【破坏修改】删除 favorite_list.VideoFavoriteList 类
  • Danmaku 类新增 set_crc32_id,会自动破解 uid
  • favorite_list 新增 FavoriteList, FavoriteListType 类
  • 专栏颜色库新增 default 色号(000000)
  • parse_link 函数新增支持一下类型的收藏夹:
    • https://space.bilibili.com/xxxxxxxxxx/favlist
    • https://space.bilibili.com/xxxxxxxxxx/favlist?fid=1692497155
    • https://space.bilibili.com/xxxxxxxxxx/favlist?fid=1622630433&ftype=collect&ctype=11
    • https://space.bilibili.com/xxxxxxxxxx/favlist?fid=articles
    • https://space.bilibili.com/xxxxxxxxxx/favlist?fid=pugvfav
  • cheese.CheeseVideo 新增:
    • has_liked()
    • get_pay_coins()
    • has_favoured()
    • like()
    • pay_coin()
    • set_favorite()

v11.11.2

15 Aug 08:40
Compare
Choose a tag to compare

v11.11.2 2022/8/15

Python

  • (BREAKING CHANGES): 将一些不应该是 async 的函数换成了普通函数:
    • async def bangumi.Episode.get_epid() -> def bangumi.Episode.get_epid()
  • (bilibili_api.Danmaku): 新增:
    • get_information()
  • 文档勘误

Javascript / Typescript

  • (audio): 新增 AudioList 类,函数:
    • get_info()

v11.11.1

14 Aug 10:22
Compare
Choose a tag to compare

v11.11.1 2022/8/14

Python

  • (BREAKING CHANGES): 将一些不应该是 async 的函数换成了普通函数:
    • async def user.User.get_uid() -> def user.User.get_uid()
    • async def audio.Audio.get_auid() -> def audio.Audio.get_auid()

Javascript / Typescript

  • (user.User) 新增:
    • get_videos()
    • get_audios()
  • (channe) 新增:
    • get_channel_list()
    • get_channel_list_sub()
  • (audio) 新增音频模块:
    • class Audio:
      • get_auid()
      • get_info()
      • get_tags()
      • get_download_url()

v11.11.0

12 Aug 09:38
Compare
Choose a tag to compare

v11.11.0 2022/8/12

Python

  • (cheese.CheeseVideo): 新增 get_meta()
  • 修复 pyinstaller 打包出错 (#36)

Javascript / Typescript

  • (user.User): 新增:
    • get_relation_info()
    • get_up_stat()
    • get_live_info()
  • (channel): 新增分区模块:
    • get_channel_info_by_tid()
    • get_channel_info_by_name()
    • get_top10()

v11.10.0

09 Aug 14:10
Compare
Choose a tag to compare

v11.10.0 2022/8/9

Python

  • 修复登录极验验证码相关问题。
  • login_func 新增常量 countries_list
  • parse_link 新增支持合集与列表,支持以下类型的合集与列表:
    • https://space.bilibili.com/xxxxxxxxxx/channel/collectiondetail?sid=xxxxx
    • https://space.bilibili.com/xxxxxxxxxx/channel/seriesdetail?sid=xxxxx
    • https://www.bilibili.com/medialist/play/xxxxxxxxxx?business=space_series&business_id=xxxxx

v11.9.0

09 Aug 00:59
Compare
Choose a tag to compare

v11.9.0 2022/8/9

Python

Javascript & Typescript

  • (video.js/video.ts) Video 类新增 like(点赞), pay_coin(投币) 的函数。