Alkaid C.
Alkaid C.
Environment: Plug-in version 2.8.2 (in the Firefox store) Firefox is 120.0.1 (64-bit), Windows 10 DeepL Pro API What happened? After I set the DeepL API key, when I try to...
I was trying to use the converter https://marianogappa.github.io/ostinato-examples/convert and it seems to not support en passant in Algebraic Expression specifically, I tried fxg6 e.p. and fxg6, neither works. Does it...
在`live`模块的`LiveDanmaku`类中,`disconnect()`方法只允许在`STATUS_ESTABLISHED`状态下调用,在其他状态下会抛出`LiveException("尚未连接服务器")`异常。 这在`STATUS_CLOSED`和`TATUS_CLOSING`的情况下是合理的,但是在`STATUS_CONNECTING`和`STATUS_ERROR`中可能是不合理的。 当房间ID无效,服务器无响应,或-352错误,都会导致状态长时间卡在STATUS_CONNECTING中;当出现网络波动,会进入STATUS_ERROR状态,等待`retry_after`秒然后重连。在这期间,用户失去了对连接的控制权。 ### 复现代码 ```python import asyncio from bilibili_api import live async def demo(): #初始化并连接,参数省略 room = live.LiveDanmaku() connect_task = asyncio.create_task(room.connect()) await asyncio.sleep(10) #如果这里因为上述原因之一脱离了STATUS_ESTABLISHED状态,进入重试或连接中状态,用户试图关闭连接: try: await room.disconnect() print("断开成功") except...
**Python 版本:** 3.12.3 **模块版本:** 17.1.4 **运行环境:** Linux **模块路径:** `bilibili_api.video_uploader` **解释器:** cpython **使用的网络请求库:** aiohttp ... 我试图使用以下代码上传视频: ```python uploader = video_uploader.VideoUploader(...) try: asyncio.run(uploader.start()) except Exception as e: print(f"视频上传失败: {str(e)}") ``` 得到报错: ```python...
I would like to request the ability to customize the time interval for the automatic saving of unsaved drafts. My primary use case is to maintain the version history and...