Skip to content

Commit 10544a5

Browse files
committed
docs: add import of select_client
1 parent 61b00f8 commit 10544a5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ if __name__ == '__main__':
156156
如果想要指定请求库,可以利用 `select_client` 进行切换。
157157

158158
``` python
159+
from bilibili_api import select_client
160+
159161
select_client("curl_cffi") # 选择 curl_cffi
160162
select_client("aiohttp") # 选择 aiohttp
161163
select_client("httpx") # 选择 httpx,不支持 WebSocket

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ if __name__ == '__main__':
156156
如果想要指定请求库,可以利用 `select_client` 进行切换。
157157

158158
``` python
159+
from bilibili_api import select_client
160+
159161
select_client("curl_cffi") # 选择 curl_cffi
160162
select_client("aiohttp") # 选择 aiohttp
161163
select_client("httpx") # 选择 httpx,不支持 WebSocket

0 commit comments

Comments
 (0)