๐Ÿฏ Youtube Channel & User Scraper (Pay Per Result) avatar
๐Ÿฏ Youtube Channel & User Scraper (Pay Per Result)
Try for free

Pay $0.50 for 1,000 users

View all Actors
๐Ÿฏ Youtube Channel & User Scraper (Pay Per Result)

๐Ÿฏ Youtube Channel & User Scraper (Pay Per Result)

apidojo/youtube-channel-information-scraper
Try for free

Pay $0.50 for 1,000 users

Extreme flexibility with search functionalities enables you to retrieve extensive channel information in detail. Not just that but YouTube Channel Information Scraper offers you Country, Language, and Location geotargeting capabilities. Only $0.50 per 1000 channels!

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    "startUrls": [
9        "https://www.youtube.com/channel/UCsXVk37bltHxD1rDPwtNM8Q",
10        "https://www.youtube.com/channel/UCNIuvl7V8zACPpTmmNIqP2A",
11    ],
12    "youtubeHandles": [
13        "@MrBeast",
14        "@babishculinaryuniverse",
15    ],
16    "keywords": [
17        "pixel art",
18        "web development",
19        "gaming",
20        "cooking",
21        "vlogging",
22        "music",
23        "comedy",
24        "education",
25        "technology",
26        "sports",
27        "news",
28        "entertainment",
29        "beauty",
30        "fashion",
31        "health",
32    ],
33    "sort": "r",
34    "maxItems": 1000,
35    "customMapFunction": "(object) => { return {...object} }",
36}
37
38# Run the Actor and wait for it to finish
39run = client.actor("apidojo/youtube-channel-information-scraper").call(run_input=run_input)
40
41# Fetch and print Actor results from the run's dataset (if there are any)
42print("๐Ÿ’พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
43for item in client.dataset(run["defaultDatasetId"]).iterate_items():
44    print(item)
45
46# ๐Ÿ“š Want to learn more ๐Ÿ“–? Go to โ†’ https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 13 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • 14 hours response time
  • Created in Dec 2023
  • Modified about 10 hours ago