bilibili-api
bilibili-api copied to clipboard
哔哩哔哩常用API调用。支持视频、番剧、用户、频道、音频等功能。原仓库地址:https://github.com/MoyuScript/bilibili-api
**Python 版本:** 3.11.2 **模块版本:** 16.2.0 **运行环境:** Windows **模块路径:** `bilibili_api.user` **解释器:** cpython **报错信息:** ```bash Traceback (most recent call last): File "f:\VS Code File\test\test.py", line 24, in asyncio.run(main()) File "C:\Users\qwert\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190,...
**Python 版本:** 3.9 **模块版本:** 16.1.1 **运行环境:** Linux --- 我参考示例文档([示例:保存私信收到的图片,并对文字私信做出回复](https://nemo2011.github.io/bilibili-api/#/examples/session))给出的内容,试着实现了根据收到的私信关键词自动发送对应回复的功能。 以下是部分指令与对应的自动回复内容: ``` if event.content == "/终止": #杀死进程 await session.reply(event, "脚本已停运") session.close() elif event.content == "/开始": #用于开始监听的口令,触发后将开始自动回复私信 await session.reply(event, "脚本已开启") status.append(token) elif...

#### v0.1.0 ```python import asyncio import httpx from bilibili_api import HEADERS class Api: def __init__(self, path: str): # 假装导入了接口信息 self.url = "https://api.bilibili.com/x/web-interface/view" self.method = "GET" # 导入一些默认值 self.query = {}...
#742 - 1. 新增 ArticleCreator 类 2. 新增 BaseParagraph 段落类及其子类 3. 新增 BaseNode2 类及其子类 - 1. 修改 post 请求参数,添加 ensure_ascii 参数
bilibili-api-python 16.2.0 video_uploader.py 中,需要修改 porder 相关行为: "porder": self.porder.__dict__() if self.porder else None
**Python 版本:** 3.12.1 **模块版本:** 16.2.0 **运行环境:** Windows --- 用示例代码,进行测试,获取视频下面的评论,发现没法获取up主的置顶评论,这个有接口解决这个问题吗?
Updates the requirements on [pillow](https://github.com/python-pillow/Pillow) to permit the latest version. Changelog Sourced from pillow's changelog. 10.4.0 (2024-07-01) Raise FileNotFoundError if show_file() path does not exist #8178 [radarhere] Improved reading 16-bit...