XiaoHongShu Profile Scraper avatar
XiaoHongShu Profile Scraper
Try for free

1 day trial then $20.00/month - No credit card required now

View all Actors
XiaoHongShu Profile Scraper

XiaoHongShu Profile Scraper

kuaima/xiaohongshu-profile
Try for free

1 day trial then $20.00/month - No credit card required now

本工具可以处理小红书用户页数据及其发表的文章详情页数据。[小红书](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.

BN

startUrls input not working

Closed

billy_nmg opened this issue
10 months ago

After changing the value of startUrls, the crawling result still be the default profile value

kuaima avatar

kuai ma (kuaima)

10 months ago

what's starturl you used? Give me example starturl or your running url, let me check.

BN

billy_nmg

10 months ago

here is my code snippet:

1const input = {
2    startUrls: [
3      {
4        url: "https://www.xiaohongshu.com/user/profile/5bfb3280e7444b0001520768",
5      },
6    ],
7    scrape_detail_page: false,
8    download_image: false,
9  };
10  // Run the Actor and wait for it to finish
11  const run = await client.actor("kuaima/xiaohongshu-profile").call(input);
kuaima avatar

kuai ma (kuaima)

10 months ago

I'm try this url now. By the way, is this your first time use this scraper?

kuaima avatar

kuai ma (kuaima)

10 months ago

do some update, try the latest version again. Let me know if it works for you.

BN

billy_nmg

10 months ago

Yes, first time use this scraper.

kuaima avatar

kuai ma (kuaima)

10 months ago

Do you try the latest version I just updated. I think it should work for your url now.

BN

billy_nmg

10 months ago

It works now. One more question, can the scraper get the video link in profile page also?

kuaima avatar

kuai ma (kuaima)

10 months ago

It can get the video link if it's a video. But I need double check, maybe it need some adjust. It will be helpful if you can provide some sample profile link which include video post.

BN

billy_nmg

10 months ago
kuaima avatar

kuai ma (kuaima)

10 months ago

Get it. I'll try this profile first.

kuaima avatar

kuai ma (kuaima)

10 months ago

add video link support now. Just need configure input parameter scrape_detail_page to true.

BN

billy_nmg

10 months ago

Thanks, video link works fine. Would scraper support fetch notes by Date range or by page or the default scraping behaviour will try to get all notes from profile?

kuaima avatar

kuai ma (kuaima)

10 months ago

Filter notes by date range is possible. It need some logic change and code flow change. I'll try it later.

kuaima avatar

kuai ma (kuaima)

9 months ago

It's now can filter by date range. Need enable scrape_detail_page first. Let me know if it works.

If any other funtion or requirement, please open new issue to discuss about it.

kuaima avatar

kuai ma (kuaima)

9 months ago

Close this issue for problem solved.

Developer
Maintained by Community
Actor metrics
  • 17 monthly users
  • 2 stars
  • 98.0% runs succeeded
  • 2 days response time
  • Created in Jun 2023
  • Modified 6 days ago