TikTok Comments Scraper avatar
TikTok Comments Scraper

Pricing

$1.00 / 1,000 comments

Go to Store
TikTok Comments Scraper

TikTok Comments Scraper

Developed by

Clockworks

Clockworks

Maintained by Apify

Extract TikTok comments. Just add a TikTok URL and get TikTok video and profile data: comments, URLs, numbers of shares, followers, hashtags, hearts, video, and music metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

4.5 (14)

Pricing

$1.00 / 1,000 comments

124

Total users

7.4k

Monthly users

1.3k

Runs succeeded

98%

Response time

1.9 days

Last modified

7 minutes ago

SD

doesn't scrape desired number of comments

Closed

sadettindemirel1 opened this issue
2 months ago

I try to scrape 20k comments from 5 different video (5k comments per video) But the run only scraped 14k comments. I did some quick counting with pivot tables on excel. two of the video has only 500 comments. So the scraper do not return desired number of results. What should I do to get more comments?

lukas.prusa avatar

Hi, thanks for opening this issue!

Yes, that's correct. The videos themselves only have that amount of top-level comments. There might be a confusion between top-level and reply comments for you. I can see that you've set the maxRepliesPerComment option to 0, so e.g., even though some post may have 10k comments, only 2k of that will be top-level.

I hope this helps, thanks and happy scraping!

SD

sadettindemirel1

2 months ago

Hi, thank you for your prompt response. I don't get it. I thought setting maxRepliesPerComment option to 0 would provide me only the single comments to video. Did I scrape replies too? What should I set to maxRepliesPerComment? I am only interested in users' comments to video.

lukas.prusa avatar

Oh, basically there are two values:

  • maxRepliesPerComment - sets the limit for each top-level comment's replies (0 means no replies, 1 means 1 reply per top-level comment, etc.)
  • commentsPerPost - sets the total limit of comments per post (the minimum of 1 will scrape just one comment per post, 10 will scrape 10 comments, etc.)
    • It's also worth mentioning, that the scraper tries to fill the reply comments into this limit as well. So for a post with 900 replies and 100 top-level comments, you would set this limit to 1000

So, no, you didn't scrape any replies. But you did scrape all top-level comments for each video (unless there were more than 5000 top-level comments for any of the videos)

All comments, including top-level and replies are commented by users under the post. I'm attaching a screenshot that should hopefully make this clear.

Thanks!