bilibili-api icon indicating copy to clipboard operation
bilibili-api copied to clipboard

哔哩哔哩常用API调用。支持视频、番剧、用户、频道、音频等功能。原仓库地址:https://github.com/MoyuScript/bilibili-api

Results 155 bilibili-api issues
Sort by recently updated
recently updated
newest added

`test` 这坨说实话很无语...是不是可以直接 ```python async def test_a_User_get_user_info(): return await u.get_user_info() ``` 换成 ```python result["user"]["get_user_info"] = await u.get_user_info() ``` 这样之类的吗...总觉得定义个函数完全没意义, ~~以及实际上好像也没法单独测试一个模块~~ ``` Usage: python -m tests.main [options] Options: -m : 运行指定测试脚本 -a:...

enhancement
GUGU

见 https://github.com/Nemo2011/bilibili-api/issues/273 有这样的接口吗?没找到...... https://api.bilibili.com/x/v3/fav/resource/infos?resources=483975876:2,780365689:2 在思考除了视频为2以外的其他类型参数,以及是否有必要加入此接口

need
feature
GUGU

https://api.bilibili.com/x/relation/tags/moveUsers POST ![image](https://github.com/Nemo2011/bilibili-api/assets/78744121/cd0701ae-ffbb-4db8-b9f4-4c1a1248cb3d) https://space.bilibili.com/{UID}/fans/follow?tagid=-10 ![image](https://github.com/Nemo2011/bilibili-api/assets/78744121/6ebbfba2-e0cc-4128-beee-d5b5249c3456) https://socialsisteryi.github.io/bilibili-API-collect/docs/user/relation.html#%E7%A7%BB%E5%8A%A8%E5%85%B3%E6%B3%A8%E5%88%B0%E5%88%86%E7%BB%84

need
feature
GUGU

**Python 版本:** 3.9.16 **模块版本:** 15.4.2 **运行环境:** MacOS(M1) --- 大部分函数返回值为字典,但是貌似没有字典内容的介绍?

documentation
need
GUGU

看了下近期的`16.2.1`和`16.2.1b0`都未成功发布到pypi库 https://github.com/Nemo2011/bilibili-api/actions/runs/8328053660/job/22787174060#step:6:1138 因为`BILIBILI_API_VERSION`未修改导致打包版本号依旧是`16.2.0`从而上传失败 https://github.com/Nemo2011/bilibili-api/blob/main/bilibili_api/__init__.py#L86

# {请说明更改} - 1. 添加请求接口数据结构定义 - 2. 添加请求接口 - 3. 调整url定义位置

**Python 版本:** 3.10.11 **模块版本:** 16.2.0 **运行环境:** Windows --- 不知道是什么原因,有些专栏内的图片并不会正常的解析成为ImageNode而是HeadingNode ![image](https://github.com/Nemo2011/bilibili-api/assets/69132853/464cca6d-140f-4b55-a3ff-7a75b0e4078e) 但是通过控制台来查看的话的确每张图片后面都有一个h1(解析成HeadingNode,也就是说直接过滤掉了img,但是`get_all`后`BeautifulSoup(f"{resp['readInfo']['content']}", "lxml")`是没有问题的) ![image](https://github.com/Nemo2011/bilibili-api/assets/69132853/aed8777f-8356-4a4f-8f87-fede443de4b7) 测试专栏:cv29100479 [1.json](https://github.com/Nemo2011/bilibili-api/files/15051987/1.json)为错误专栏解析 [2.json](https://github.com/Nemo2011/bilibili-api/files/15051988/2.json)为同账号的其他专栏解析

question

**Python 版本:** 3.12.2 **模块版本:** 16.2.0 **运行环境:** Windows **模块路径:** `bilibili_api.live LiveRoom` **解释器:** cpython --- 138舰长获得的event中price为198000 {'uid': ________, 'username': '________', 'guard_level': 3, 'num': 1, 'price': 198000, 'gift_id': 10003, 'gift_name': '舰长', 'start_time': 1713451876,...

question

### Discussed in https://github.com/Nemo2011/bilibili-api/discussions/741 Originally posted by **adk23333** April 12, 2024 [合并图文的议题](https://github.com/Nemo2011/bilibili-api/issues/662) 是暂时没时间添加还是这里面有坑,无坑的话,我去试试?

need
good first issue
feature

上传视频接口中有subtitles的字段,但是在那里上传已经做好的.srt字幕文件?

feature