archibate/dotfiles-opencode / skills/bilibili-api
bilibili-api
FlaggedThis skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list bilibili favorites", "send bilibili danmaku", "upload video to bilibili", "monitor bilibili live room", "search bilibili", "get bilibili comments", or needs guidance on the bilibili_api Python library usage, authentication, API endpoints, or workflow patterns.
references/docs/modules/homepage.md
View on GitHub# Module homepage.py
bilibili_api.homepage
主页相关操作。
``` python
from bilibili_api import homepage
```
- [async def get\_favorite\_list\_and\_toview()](#async-def-get\_favorite\_list\_and\_toview)
- [async def get\_favorite\_list\_content()](#async-def-get\_favorite\_list\_content)
- [async def get\_links()](#async-def-get\_links)
- [async def get\_popularize()](#async-def-get\_popularize)
- [async def get\_top\_photo()](#async-def-get\_top\_photo)
- [async def get\_videos()](#async-def-get\_videos)
---
## async def get_favorite_list_and_toview()
获取首页右上角视频相关列表(收藏夹+稍后再看)
收藏夹具体内容在 `get_favorite_list_content` 接口
| name | type | description |
| - | - | - |
| `credential` | `Credential` | 凭据类 |
**Returns:** `dict`: 调用 API 返回的结果
---
## async def get_favorite_list_content()
获取首页右上角视频相关列表(收藏夹+稍后再看)的具体内容
稍后再看具体内容在 `get_favorite_list_and_toview` 接口
| name | type | description |
| - | - | - |
| `media_id` | `int` | 收藏夹 id |
| `credential` | `Credential` | 凭据类 |
**Returns:** `dict`: 调用 API 返回的结果
---
## async def get_links()
获取主页左面的链接。
可能和个人喜好有关。
| name | type | description |
| - | - | - |
| `credential` | `Credential \| None` | 凭据类 |
**Returns:** `dict`: 调用 API 返回的结果
---
## async def get_popularize()
获取推广的项目。
(有视频有广告)
| name | type | description |
| - | - | - |
| `credential` | `Credential \| None` | 凭据类 |
**Returns:** `dict`: 调用 API 返回的结果
---
## async def get_top_photo()
获取主页最上方的图像。
例如:b 站的风叶穿行,通过这个 API 获取的图片就是风叶穿行的图片。
**Returns:** `dict`: 调用 API 返回的结果。
---
## async def get_videos()
获取首页推荐的视频。
| name | type | description |
| - | - | - |
| `credential` | `Credential \| None` | 凭据类 |
**Returns:** `dict`: 调用 API 返回的结果
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |