YouTube Scraper avatar
YouTube Scraper

Pricing

$5.00 / 1,000 videos

Go to Store
YouTube Scraper

YouTube Scraper

Developed by

Streamers

Maintained by Apify

YouTube crawler and video scraper. Alternative YouTube API with no limits or quotas. Extract and download channel name, likes, number of views, and number of subscribers.

4.6 (29)

Pricing

$5.00 / 1,000 videos

699

Monthly users

3.1k

Runs succeeded

>99%

Response time

2.4 days

Last modified

2 days ago

title

id

url

viewCount

likes

channelName

numberOfSubscribers

duration

Crawlee, the web scraping and browser automation library

g1Ll9OlFwEQ

https://www.youtube.com/watch?v=g1Ll9OlFwEQ

10150

136

Apify

6640

00:03:15

Crawlee for Python: Build reliable crawlers. Fast.

Ejhudr7e-h4

https://www.youtube.com/watch?v=Ejhudr7e-h4

916

23

Apify

6640

00:03:39

Build a Web Scraper from Scratch | JavaScript | Playwright | Crawlee

DOtJEwVsJic

https://www.youtube.com/watch?v=DOtJEwVsJic

4411

109

deejaydev

1680

00:22:43

The data above is synthetic and does not reflect real-world values. View full dataset

MH

Problem with URL entry

Closed

my_happy_social opened this issue
a year ago

Hi, I connected the API to Bubble.io and with the GET function it works perfectly.

Now I am testing with the POST function (Run task synchronously and get dataset items) but it gives me errors when I enter the URL via JSON.

This is the JSON code:

{ “startUrls”: [ “https://www.youtube.com/watch?v=MjQG-a7d41Q&ab_channel=WaltDisneyStudios” ] }

This is the error that appears to me in Bubble.io:

{ “error”: { “type”: “invalid-input”, “message”: “Input is not valid: Items in input.startUrls at positions [0] do not contain valid URLs” } }

I also tried this JSON:

{ “url”: “https://www.youtube.com/watch?v=MjQG-a7d41Q&ab_channel=WaltDisneyStudios” }

And the error reported by Bubble.io is this:

Raw response for the API Status code 400 { “error”: { “type”: “run-failed”, “message”: “Actor run did not succeed (run ID: uuFYMCZxjncUpnZ3f, status: FAILED).” } }

Do you have a solution please?

svpetrenko avatar

Hi! The urls in the input have this format:

1"startUrls": [
2        {
3            "url": "https://www.youtube.com/@amplycash_23"
4        }
5    ]

I.e. the url itself is wrapped in a JSON object with a url property. So the first input would be fine, just wrap the url in such a JSON object. As a tip, you could set up an example input via visual editor here on Apify, then switch to JSON editor and copy the format.

MH

my_happy_social

a year ago

Thank you, you were very kind, now it works perfectly!

Pricing

Pricing model

Pay per result 

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.

Price per 1,000 items

$5.00