XiaoHongShu Profile Scraper avatar
XiaoHongShu Profile Scraper

Pricing

$20.00/month + usage

Go to Store
XiaoHongShu Profile Scraper

XiaoHongShu Profile Scraper

Developed by

kuai ma

kuai ma

Maintained by Community

本工具可以处理小红书用户页数据及其发表的文章详情页数据。[小红书](https://www.xiaohongshu.com/) is a famous social e-commerce platform that combines user-generated content with online shopping, catering to the needs of young Chinese consumers. This scraper can get data from xiaohongshu user profile and detail pages.

0.0 (0)

Pricing

$20.00/month + usage

6

Total users

162

Monthly users

18

Runs succeeded

88%

Last modified

16 days ago

XiaoHongShu Profile Scraper / 小红书个人资料爬虫

This scraper can get data from xiaohongshu user profile. / 该爬虫可以从小红书用户个人资料页面获取数据。

Features / 功能

Usage Tips / 使用技巧

  • To get cover images, set download_image parameter to true. Images will be saved as <date>_cover_<post_id>.webp / 要获取封面图片,请将 download_image 参数设置为 true。图片将保存为 <date>_cover_<post_id>.webp
  • For tags, date and location information, enable scrape_detail_page and provide cookies (JSON format) / 要获取标签、日期和位置信息,请启用 scrape_detail_page 并提供 cookies(JSON 格式)

Using Browser Developer Tools / 使用浏览器开发者工具

  1. Open browser and navigate to target website / 打开浏览器并导航到目标网站
  2. Access developer tools (F12 or right-click → Inspect) / 访问开发者工具(F12 或右键单击 → 检查)
  3. Go to Application tab → Storage → Cookies / 转到应用程序选项卡 → 存储 → Cookie
  4. Select 'web_session' → right-click value → export or copy manually / 选择web_session → 右键单击 值→ 手动复制
  • EditThisCookie: Browser extension for easy cookie export / 用于轻松导出 Cookie 的浏览器扩展
  • Cookie-Editor: Another versatile cookie export tool / 另一个多功能 Cookie 导出工具

Example Configuration / 示例配置

{
"scrape_detail_page": true,
"cookie_val":"...",
}

Data Examples / 数据示例

Profile Page / 个人资料页面

page screenshot

Post Detail Page / 帖子详情页面

page screenshot

Scraped Data / 抓取的数据

data screenshot

Data Format / 数据格式

[
{
"id": "655bfa160000000032009e1a",
"cover": "http://sns-webpic-qc.xhscdn.com/202311212112/629ecb62902a91998666e62eee403d23/1040g00830rnggn8q2e004btv5lp801r86pu2s2o!nc_n_webp_mw_1format/jpg",
"title": "粉条豆腐包",
"url": "https://www.xiaohongshu.com/user/profile/5bfb3280e7444b0001520768/655bfa160000000032009e1a",
"num_count": "9",
"top_tag": false,
"author": "小楼(美食日记)",
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/60a5f35a957c7c083b9b97aa.jpg?imageView2/2/w/540/format/webp|imageMogr2/strip2",
"author_url": "https://www.xiaohongshu.com/user/profile/5bfb3280e7444b0001520768",
"desc": "冬天怎么能少得了一锅香喷喷的粉条豆腐包呢,你也赶紧去试试吧",
"tags": [
"豆腐粉条包子话题可以点击搜索啦~",
"粉条豆腐包",
"豆腐包子"
],
"date": "2023-11-21",
"location": "四川",
"video": "https://sns-video-bd.xhscdn.com/stream/110/258/01e55bf9d67fb0a1010370038bef498eda_258.mp4"
}
]