![Youtube User / Channel Scraper avatar](https://images.apifyusercontent.com/LO5B8lj8hh82-2HxX-ZG5UP1nMchtRdt1_ZUZruv5OU/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vWlU2Q3JtQTEwUFJuelk2NEovSGl6U2ZKZkF3Mnd6d2VMNkItX18ucG5n.webp)
Youtube User / Channel Scraper
Try for free
No credit card required
View all Actors![Youtube User / Channel Scraper](https://images.apifyusercontent.com/LO5B8lj8hh82-2HxX-ZG5UP1nMchtRdt1_ZUZruv5OU/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vWlU2Q3JtQTEwUFJuelk2NEovSGl6U2ZKZkF3Mnd6d2VMNkItX18ucG5n.webp)
![Youtube User / Channel Scraper](https://images.apifyusercontent.com/LO5B8lj8hh82-2HxX-ZG5UP1nMchtRdt1_ZUZruv5OU/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vWlU2Q3JtQTEwUFJuelk2NEovSGl6U2ZKZkF3Mnd6d2VMNkItX18ucG5n.webp)
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
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "start_urls": [{ "url": "https://www.youtube.com/channel/UCyBD3P9YOFWNIMTuDzqeObg" }],
9 "ids": "UCyBD3P9YOFWNIMTuDzqeObg",
10}
11
12# Run the Actor and wait for it to finish
13run = client.actor("gentle_cloud/youtube-user-channel-scraper").call(run_input=run_input)
14
15# Fetch and print Actor results from the run's dataset (if there are any)
16print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
17for item in client.dataset(run["defaultDatasetId"]).iterate_items():
18 print(item)
19
20# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
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
Categories