YouTube Scraper avatar

YouTube Scraper

Try for free

Pay $5.00 for 1,000 videos

View all Actors
YouTube Scraper

YouTube Scraper

streamers/youtube-scraper
Try for free

Pay $5.00 for 1,000 videos

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.

Do you want to learn more about this Actor?

Get a demo

Search term

searchKeywordsstringOptional

Enter a search term just like you would enter it in YouTube's search bar.

Maximum videos

maxResultsintegerOptional

Limit the number of videos you want to crawl. If you scrape a channel, acts as a limit for regular videos.

Maximum shorts

maxResultsShortsintegerOptional

Limit the number of Shorts videos you want to crawl.

Maximum streams

maxResultStreamsintegerOptional

Limit the number of Stream videos you want to crawl.

Direct URLs

startUrlsarrayOptional

Enter a link to a YouTube video, channel, playlist, hashtag or search results page. You can also import a CSV file or Google Sheet with a list of URLs.
Note: Input from Search term will be ignored when using this option. If you only want to scrape shorts/streams, set Maximum search results to 0, otherwise they represented number of regular videos requested

Default value of this property is []

Download subtitles

downloadSubtitlesbooleanOptional

If set to true, the scraper will download subtitles for the video and convert them to .srt format.

Save subtitles to key-value store

saveSubsToKVSbooleanOptional

If set to true, the scraper will save the downloaded subtitles to the key-value store.
Note: Download subtitles must be turned on for this option to work.

Subtitle language

subtitlesLanguageEnumOptional

Language to download subtitles in.
Note: Download subtitles must be turned on for this option to work.

Value options:

"any": string"en": string"de": string"es": string"fr": string"it": string"ja": string"ko": string"nl": string"pt": string"ru": string

Default value of this property is "any"

Prefer automatically generated subtitles.

preferAutoGeneratedSubtitlesbooleanOptional

If set to true, automatically generated subtitles are preferred to user subtitles.Note: A subtitle language must be selected for this option to work.

Subtitle format

subtitlesFormatEnumOptional

Select in what format you want to download subtitles

Value options:

"srt": string"vtt": string"xml": string"plaintext": string

Default value of this property is "srt"

Sorting order

sortingOrderEnumOptional

Select Youtube sorting parameter for search

Value options:

"relevance": string"rating": string"date": string"views": string

Date filter

dateFilterEnumOptional

Select Youtube upload date filter for search

Value options:

"hour": string"today": string"week": string"month": string"year": string

Video type filter

videoTypeEnumOptional

Select Youtube video type filter for search

Value options:

"video": string"movie": string

Length filter

lengthFilterEnumOptional

Select Youtube video length filter for search

Value options:

"under4": string"between420": string"plus20": string

HD

isHDbooleanOptional

Will apply the HD filter for search

Subtitles/CC

hasSubtitlesbooleanOptional

Will apply the Subtitles/CC filter for search

Creative Commons

hasCCbooleanOptional

Will apply the Creative Commons filter for search

3D

is3DbooleanOptional

Will apply the 3D filter for search

Live

isLivebooleanOptional

Will apply the Live filter for search

Purchased

isBoughtbooleanOptional

Will apply the Purchased filter for search

4K

is4KbooleanOptional

Will apply the 4K filter for search

360 degrees

is360booleanOptional

Will apply the 360 degrees filter for search

Location

hasLocationbooleanOptional

Will apply the Location filter for search

HDR

isHDRbooleanOptional

Will apply the HDR filter for search

VR180

isVR180booleanOptional

Will apply the VR180 filter for search

Only newer than (e.g. 2023-06-15)

oldestPostDatestringOptional

Only posts uploaded after or on this date will be scraped. Note, that if you select this, sorting parameter will be auto-reset to NEWEST

Videos from last (e.g. 2) days

scrapeLastNDaysintegerOptional

Specify how old scraped videos can be (in days). Putting 1 will get you only today's videos, 2 - tomorrow's and today's, and so on. If the Only newer than field was set, the most recent one will be chosen. Note, that if you select this, sorting parameter will be auto-reset to NEWEST

Sort by

sortVideosByEnumOptional

Maps to the sorting buttons on the top of the channel's 'Videos', 'Shorts' and 'Live' pages.

Value options:

"NEWEST": string"POPULAR": string"OLDEST": string
Developer
Maintained by Apify

Actor Metrics

  • 1.7k monthly users

  • 194 stars

  • 87% runs succeeded

  • 3.8 days response time

  • Created in Jul 2023

  • Modified 6 hours ago