-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨优化 B站 Cookie 选择策略 #664
base: main
Are you sure you want to change the base?
✨优化 B站 Cookie 选择策略 #664
Conversation
👷 Deploy request for nonebot-bison pending review.Visit the deploys page to approve it
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #664 +/- ##
==========================================
- Coverage 85.24% 85.00% -0.25%
==========================================
Files 97 97
Lines 5490 5520 +30
==========================================
+ Hits 4680 4692 +12
- Misses 810 828 +18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@suyiiyii /rebase |
a5b3fb8
to
d6e7acf
Compare
6c6a35c
to
1031e9f
Compare
|
||
return _response_hook | ||
|
||
async def _get_next_user_cookie(self) -> CookieModel | None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
async def _get_next_user_cookie(self) -> CookieModel | None: | |
async def _get_next_identified_cookie(self) -> CookieModel | None: |
return _response_hook | ||
|
||
async def _get_next_user_cookie(self) -> CookieModel | None: | ||
"""选择下一个用户 cookie""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""选择下一个用户 cookie""" | |
"""选择下一个实名 cookie""" |
实现了「在失败之前一直使用一个 Cookie」的策略