mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-06-03 08:27:26 +08:00
feat: 添加海外版小红书(rednote.com)支持
This commit is contained in:
@@ -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': "/"
|
||||
}])
|
||||
|
||||
Reference in New Issue
Block a user