YouTube Scraper
Pricing
Pay per event
Go to Apify Store
YouTube Scraper
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.
Pricing
Pay per event
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.
searchQueriesarrayOptional
Enter search terms just like you would enter it in YouTube's search bar.
maxResultsintegerOptional
Limit the number of videos you want to crawl. If you scrape a channel, acts as a limit for regular videos.
Default value of this property is 0
maxResultsShortsintegerOptional
Limit the number of Shorts videos you want to crawl.
Default value of this property is 0
maxResultStreamsintegerOptional
Limit the number of Stream videos you want to crawl.
Default value of this property is 0
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 []
downloadSubtitlesbooleanOptional
If set to true, the scraper will download subtitles for the video and convert them to .srt format.
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.
subtitlesLanguageEnumOptional
Language to download subtitles in.
Note: Download subtitles must be turned on for this option to work.
"any": string"en": string"de": string"es": string"fr": string"it": string"ja": string"ko": string"nl": string"pt": string"ru": stringDefault value of this property is "en"
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.
subtitlesFormatEnumOptional
Select in what format you want to download subtitles
"srt": string"vtt": string"xml": string"plaintext": stringDefault value of this property is "srt"
sortingOrderEnumOptional
Select Youtube sorting parameter for search
"relevance": string"rating": string"date": string"views": stringdateFilterEnumOptional
Select Youtube upload date filter for search
"hour": string"today": string"week": string"month": string"year": stringvideoTypeEnumOptional
Select Youtube video type filter for search
"video": string"movie": stringlengthFilterEnumOptional
Select Youtube video length filter for search
"under4": string"between420": string"plus20": stringoldestPostDatestringOptional
Only posts uploaded after or on this date will be scraped. Alternatively, specify how old the scraped videos should be in days. Putting 1 day will get you only today's posts, 2 days - yesterday's and today's, and so on. Note, that if you select this, sorting parameter will be auto-reset to NEWEST