mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 15:07:17 +08:00
refactor(browser.py): 优化从浏览器读取 Cookie 功能
This commit is contained in:
@@ -372,7 +372,9 @@ class XHS:
|
||||
@staticmethod
|
||||
def read_browser_cookie(value: str | int) -> str:
|
||||
return BrowserCookie.get(
|
||||
value, domains=["xiaohongshu.com", ]) if value else ""
|
||||
value,
|
||||
domains=["xiaohongshu.com", ],
|
||||
) if value else ""
|
||||
|
||||
# @staticmethod
|
||||
# async def index(request):
|
||||
|
||||
Reference in New Issue
Block a user