feat: 添加海外版小红书(rednote.com)支持

This commit is contained in:
Junwen
2026-04-08 23:12:53 +08:00
parent 16e8965035
commit 2a52c15fb3
4 changed files with 16 additions and 7 deletions

View File

@@ -219,6 +219,6 @@ class XiaoHongShuLogin(AbstractLogin):
await self.browser_context.add_cookies([{
'name': key,
'value': value,
'domain': ".xiaohongshu.com",
'domain': ".rednote.com" if config.XHS_INTERNATIONAL else ".xiaohongshu.com",
'path': "/"
}])