Youtube Channel Scraper avatar
Youtube Channel Scraper
Try for free

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

View all Actors
Youtube Channel Scraper

Youtube Channel Scraper

newbs/youtube-channel
Try for free

1 day trial then $35.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, channel subscriber count...

YouTube Scraper using Puppeteer

YouTube Actor Utilities

Overview

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

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": "PAIN HUSTLERS | Emily Blunt & Catherine O'Hara Clip | Netflix",
4	"author": "@netflix",
5	"videoUrl": "https://www.youtube.com/watch?v=mEbVjufYiFE",
6	"coverImage": "https://i.ytimg.com/vi/mEbVjufYiFE/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCuuJA6UNeqKMDNfbVciQsu8ZP-Ng",
7	"subscriberCount": "27,2 M d’abonnés",
8	"likeCount": 424,
9	"description": "Emily Blunt, Chris Evans, Catherine O’Hara, and Andy Garcia in PAIN HUSTLERS. Only on Netflix October 27. Dreaming of a better life for her and her young daughter, Liza (Emily Blunt) lands a job from Pete (Chris Evans) at a failing pharma start-up, where Liza’s charm, drive, and guts catapult her into the high life and the company into the center of a criminal conspiracy with dire consequences. 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. PAIN HUSTLERS | Emily Blunt & Catherine O'Hara Clip | Netflix https://www.youtube.com/@Netflix A broke but ambitious single mom lands a lucrative opportunity in pharma sales, but how far will she go to turn a potent new painkiller into a success?",
10	"viewCount": 29280,
11	"commentCount": 0,
12	"publishedAt": "2023-10-25T14:00:00-07:00",
13	"id": "mEbVjufYiFE",
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
  • 43 monthly users
  • 100.0% runs succeeded
  • days response time
  • Created in Mar 2023
  • Modified 2 months ago