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

Pay $0.10 for 1,000 videos

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

๐Ÿฏ Youtube Scraper (Pay Per Result)

apidojo/youtube-scraper
Try for free

Pay $0.10 for 1,000 videos

Experience unparalleled efficiency and depth with its ultra-fast capabilities in searching, URL, playlist, channel, and profile scraping. It comes equipped with a variety of filters to customize your data collection precisely. Plus, it's incredibly affordable at only $0.10 per 1000 videos!

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  "startUrls": [
8    "https://www.youtube.com/results?search_query=never+gonna+give+you+up",
9    "https://www.youtube.com/watch?v=xuCn8ux2gbs",
10    "https://www.youtube.com/channel/UCsXVk37bltHxD1rDPwtNM8Q",
11    "https://www.youtube.com/watch?v=kXYiU_JCYtU&list=PL6Lt9p1lIRZ311J9ZHuzkR5A3xesae2pk",
12    "https://www.youtube.com/shorts/vVTa1_hm4n4",
13    "https://www.youtube.com/results?search_query=recipes"
14  ],
15  "youtubeHandles": [
16    "@MrBeast",
17    "@babishculinaryuniverse"
18  ],
19  "keywords": [
20    "pixel art"
21  ],
22  "uploadDate": "all",
23  "duration": "all",
24  "features": "all",
25  "sort": "r",
26  "maxItems": 1000,
27  "customMapFunction": "(object) => { return {...object} }"
28}
29EOF
30
31# Run the Actor using an HTTP API
32# See the full API reference at https://docs.apify.com/api/v2
33curl "https://api.apify.com/v2/acts/apidojo~youtube-scraper/runs?token=$API_TOKEN" \
34  -X POST \
35  -d @input.json \
36  -H 'Content-Type: application/json'
Developer
Community logoMaintained by Community
Actor metrics
  • 27 monthly users
  • 97.9% runs succeeded
  • 0.1 days response time
  • Created in Dec 2023
  • Modified about 21 hours ago

You might also like these Actors