Youtube Comment Scrapper avatar
Youtube Comment Scrapper

Pay $1.80 for 1,000 comments

View all Actors
Youtube Comment Scrapper

Youtube Comment Scrapper

deeper/youtube-comment-scrapper

Pay $1.80 for 1,000 comments

Scrape comments on Youtube Video Pages. Just specify the video page urls to visit and how many comments you would like to collect. We'll get all meaningful information: comment text, author, publication date, number of likes and replies and video+channel url and id

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "start_urls": [
8    {
9      "url": "https://www.youtube.com/watch?v=3xGwtP97FXI"
10    }
11  ],
12  "max_comments": 100,
13  "proxySettings": {
14    "useApifyProxy": false
15  }
16}
17EOF
18
19# Run the Actor
20curl "https://api.apify.com/v2/acts/deeper~youtube-comment-scrapper/runs?token=$API_TOKEN" \
21  -X POST \
22  -d @input.json \
23  -H 'Content-Type: application/json'
Developer
Community logoMaintained by Community
Actor metrics
  • 16 monthly users
  • 98.5% runs succeeded
  • 0.0 days response time
  • Modified 2 months ago

You might also like these Actors