YouTube Stats and Thumbnail Download

YouTube Stats and Thumbnail Download

by xscapeco

Extract stats, thumbnails and profile pic from YouTube videos with ease! This actor takes a YouTube video URL as input and returns lots of data.

6,524 runs
78 users
Try This Actor

Opens on Apify.com

About YouTube Stats and Thumbnail Download

Extract stats, thumbnails and profile pic from YouTube videos with ease! This actor takes a YouTube video URL as input and returns lots of data.

What does this actor do?

YouTube Stats and Thumbnail Download is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

YouTube Stats and Thumbnail Download This Apify Actor extracts various statistics, thumbnails, and profile pictures from YouTube videos. It takes a list of YouTube video URLs as input and returns detailed information about each video. ## Input The Actor expects a JSON input with a startUrls array containing one or more YouTube video URLs. For example: json { "startUrls": [ "https://www.youtube.com/watch?v=aAkMkVFwAoo" ] } ## Output For each valid YouTube video URL provided in the input, the Actor will push an object to the dataset with the following fields: - video_id: The unique ID of the YouTube video. - thumbnail_url: The URL of the video's thumbnail image. - view_count: The number of views for the video. - description: The video's description. - upload_date: The date and time the video was uploaded (in ISO format). - upload_date_epoch: The upload date as a Unix timestamp. - upload_date_formatted: The upload date formatted as "YYYY-MM-DD HH:MM:SS". - duration: The video duration in the format "HH:MM:SS". - duration_seconds: The video duration in seconds. - video_url: The original YouTube video URL from the input. - profile_name: The name of the channel that uploaded the video. - profile_image_url: The URL of the channel's profile picture. - channel_subscribers: The number of subscribers for the channel. - channel_handle: The channel's handle (e.g., "@channelname"). - video_likes: The number of likes for the video. ## Implementation Details The Actor uses the Google API Client Library for Python to interact with the YouTube Data API. It extracts the video ID from the provided YouTube URL and then fetches various details about the video, including its statistics, thumbnail, and channel information. The get_video_id function extracts the video ID from different types of YouTube URLs (e.g., https://www.youtube.com/watch?v=aAkMkVFwAoo, https://youtu.be/aAkMkVFwAoo). The download_thumbnail function downloads the video's thumbnail image and returns its local file path and URL. The convert_duration function converts the video duration from the ISO 8601 format to a more readable "HH:MM:SS" format. The duration_to_seconds function converts a duration string in the "HH:MM:SS" format to seconds. The get_video_info function fetches various details about the video, including its statistics, thumbnail, description, upload date, duration, and channel information. The main function is the entry point for the Actor. It retrieves the input URLs, processes each valid URL, and pushes the video information to the dataset. ## Resources - Apify SDK for Python documentation

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try YouTube Stats and Thumbnail Download now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
xscapeco
Pricing
Paid
Total Runs
6,524
Active Users
78
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support