Youtube User / Channel Scraper avatar
Youtube User / Channel Scraper
Try for free

No credit card required

View all Actors
Youtube User / Channel Scraper

Youtube User / Channel Scraper

gentle_cloud/youtube-user-channel-scraper
Try for free

No credit card required

You can use this collector to automatically collect information about YouTube bloggers, such as nickname, avatar, country, introduction, joining time, number of videos, number of views, number of fans, etc. You only need to determine the urls and ids or channel ids

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 more

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/channel/UCyBD3P9YOFWNIMTuDzqeObg"
10    }
11  ],
12  "ids": "UCyBD3P9YOFWNIMTuDzqeObg"
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/gentle_cloud~youtube-user-channel-scraper/runs?token=$API_TOKEN" \
19  -X POST \
20  -d @input.json \
21  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 12 monthly users
  • 2 stars
  • 97.2% runs succeeded
  • 3.2 days response time
  • Created in Feb 2024
  • Modified 4 months ago