Youtube Shorts Scraper avatar
Youtube Shorts Scraper
Try for free

1 day trial then $30.00/month - No credit card required now

View all Actors
Youtube Shorts Scraper

Youtube Shorts Scraper

newbs/youtube-shorts
Try for free

1 day trial then $30.00/month - No credit card required now

Unlock valuable insights with our tool that extracts crucial video data such as title, Social Links, description, cover image URL, video URL, author, view count, like count, comment count, and channel subscriber count...

YouTube Scraper using Puppeteer

Overview

This Apify actor uses Puppeteer to scrape YouTube shorts for a specified channel and number of videos. The output of the actor includes details on each video scraped.

YouTube Channel Scraper ⚙️

For scraping YouTube regular videos specifically, please refer to the YouTube Channel Scraper.

Input

The actor takes in the following input:

  • channelName (required) - The name of the channel to scrape videos from.
  • numberOfVideos (required) - The number of videos to scrape.

Output

The actor outputs an array of objects, where each object represents a single video. The object includes the following details for each video:

  • title - The title of the video.
  • description - The description of the video.
  • coverImage - The URL of the Cover image.
  • videoUrl - The URL of the video.
  • author - The name of the author of the video.
  • viewCount - The number of views the video has.
  • likeCount - The number of likes the video has.
  • commentCount - The number of comments the video has.
  • subscriberCount - The number of subscribers the channel has.
  • publishedAt - The date the video was published.
  • amountOfVideos - The total amount of all videos in the youtube channel including live and shorts
  • channelInfo - The global information about the channel

Usage

To use this actor, you can set up a task on Apify and configure the input parameters as desired. Once the task is started, the actor will scrape the specified number of videos for the specified channel and output the details in the format described above.

Example Input

1{
2  "channelName": "National Geographic",
3  "numberOfVideos": 10
4}

Example Output

1[
2  {
3	"title": "The Top 10 TV shows on #Netflix this week",
4	"author": "@netflix",
5	"videoUrl": "https://www.youtube.com/shorts/HJ5phNtRIZs",
6	"coverImage": "https://i.ytimg.com/vi/HJ5phNtRIZs/oar2.jpg?sqp=-oaymwEdCJUDENAFSFWQAgHyq4qpAwwIARUAAIhCcAHAAQY=&rs=AOn4CLCbKbpOxW_Ta9h0t6trJfi6___mpw",
7	"subscriberCount": 27200000,
8	"likeCount": 13,
9	"description": "#shorts SUBSCRIBE: http://bit.ly/29qBUt7 About Netflix: Netflix is one of the world's leading entertainment services with over 247 million paid memberships in over 190 countries enjoying TV series, films and games across a wide variety of genres and languages. Members can play, pause and resume watching as much as they want, anytime, anywhere, and can change their plans at any time. The Top 10 TV shows on #Netflix this week https://www.youtube.com/@Netflix Moins Plus",
10	"viewCount": 27979,
11	"commentCount": 27,
12	"publishedAt": "2023-10-19",
13	"id": "HJ5phNtRIZs",
14	"amountOfVideos": null,
15	"profilePicture": null,
16	"channelInfo": {
17		"actifFrom": "Actif depuis le 17 juil. 2012",
18		"viewCounter": "7 569 331 655 vues",
19		"channelDescription": "Description GEEKED WEEK is BACK Get Netflix's latest trailers and updates here! Netflix is the world's leading streaming entertainment service with over 209 million paid memberships in over 190 countries enjoying TV series, documentaries, feature films , and games across a wide variety of genres and languages. Members can watch as much as they want, anytime, anywhere, on any internet-connected screen. Members can play, pause and resume watching at any time.",
20		"country": "États-Unis",
21		"link": {
22			"Netflix": "signup.netflix.com",
23			"Facebook": "facebook.com/netflixus",
24			"Twitter": "twitter.com/netflix",
25			"Instagram": "instagram.com/netflix",
26			"Tumblr": "netflix.tumblr.com"
27		}
28	}
29}
30]

Disclaimer

Please note that the use of this actor and any data obtained through its use is at your own risk. The developer of this actor is not responsible for any consequences resulting from the use of this actor and the data it generates. It is your responsibility to ensure that you comply with all applicable laws and regulations governing the use of such data.

Developer
Maintained by Community
Actor metrics
  • 9 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in May 2023
  • Modified about 2 months ago