Feat/add chromium support - #13
Open
HawkW1027 wants to merge 3 commits into
Open
Conversation
- Add Chromium to browser cookie extraction list - Redesign bili login: try all browsers with per-browser terminal feedback, then fall back to QR code login automatically - Add --browser option to target a specific browser - Add --cookie-file option for importing cookies from JSON file (for non-standard browsers) - Refactor browser probe logic to collect all results instead of stopping at first match, enabling detailed user feedback - Update README: authentication docs, usage examples, troubleshooting
…tion TimeoutError, ConnectionError, and OSError were falling through to the generic Exception handler, causing valid credentials to be reported as expired when the bilibili API is unreachable or slow. Made-with: Cursor
bilibili-api-python's AioHTTPClient defaults proxy="" which overrides aiohttp's trust_env=True, bypassing system proxy (e.g. Clash on RPi). Detect proxy from env vars and set it via request_settings.set_proxy(). Also add trust_env=True to custom aiohttp sessions in client.py. Made-with: Cursor
Author
|
ruff+mypy测试全部通过,目前自用顺利 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. 新增 Chromium 支持 & 登录流程优化(c53daa0)
2. 修复凭证验证时的网络超时处理 (db323d3)
现已将网络超时视为不确定状态,不再错误标记凭证失效
3. 修复代理环境变量自动检测 (10d8aa9)