Skip to content

Commit cc3724d

Browse files
authored
💄 style: add Xiaohongshu crawler rules (lobehub#7717)
1 parent ef05b49 commit cc3724d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/web-crawler/src/urlRules.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,9 @@ export const crawUrlRules: CrawlUrlRule[] = [
100100
impls: ['jina'],
101101
urlPattern: 'https://(.*).feishu.cn/(.*)',
102102
},
103+
// 小红书存在爬虫防护,使用 Search1API 或 Jina (备用)
104+
{
105+
impls: ['search1api', 'jina'],
106+
urlPattern: 'https://(.*).xiaohongshu.com/(.*)',
107+
},
103108
];

0 commit comments

Comments
 (0)