Best Youtube Comments Scraper
1 day trial then $0.05/month - No credit card required now
This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?
See alternative ActorsBest Youtube Comments Scraper
1 day trial then $0.05/month - No credit card required now
Extract YouTube comments effortlessly without API keys. Get author names, timestamps, and engagement metrics instantly. Perfect for content creators, marketers & researchers. Avoid rate limits and export to CSV/JSON. Start uncovering audience insights today!
YouTube Comments Scraper Actor
This Apify actor extracts comments from YouTube videos. It scrolls through the comments section and collects information including the author, content, likes, and timestamp for each comment.
Features
- Extracts comments from any public YouTube video
- Deduplicates comments using LRU cache
- Configurable maximum number of comments to extract
- Handles dynamic loading through scrolling
- Resource-efficient (blocks unnecessary resources)
- Comprehensive error handling and logging
Input Parameters
videoUrl
(required): The URL of the YouTube video to scrape comments frommaxComments
(optional): Maximum number of comments to extract (default: 100, set to 0 for all comments)
Output Format
1{ 2 "videoUrl": "https://www.youtube.com/watch?v=...", 3 "totalComments": 100, 4 "extractedAt": "2024-12-31T...", 5 "comments": [ 6 { 7 "author": "User Name", 8 "content": "Comment text", 9 "likes": 42, 10 "timestamp": "2 months ago", 11 "extractedAt": "2024-12-31T..." 12 } 13 // ... more comments 14 ] 15}
Usage
- Input the YouTube video URL
- Set the maximum number of comments to extract (optional)
- Run the actor
- Download results in JSON format
Local Development
-
Install dependencies:
npm install
-
Run locally:
apify run
Actor Metrics
3 monthly users
-
1 star
>99% runs succeeded
Created in Dec 2024
Modified 23 days ago