Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.71 KB

File metadata and controls

41 lines (32 loc) · 1.71 KB

YouTube Channel Video Scraper

📌 Project Overview

This Python script fetches video details from a YouTube channel using the YouTube Data API. It retrieves information such as video titles, URLs, view counts, upload dates, durations, and descriptions. The data is saved to a JSON file for further analysis or use. The sample ouput json file contains the output I got for my YouTube channel with 3 videos.


🚀 Key Features

  1. YouTube Data API Integration:
    • Fetches video details using the YouTube Data API.
    • Supports pagination to retrieve all videos (up to 50 per request).
  2. Data Extraction:
    • Extracts video metadata: title, URL, views, upload date, duration, and description.
  3. Efficient Data Storage:
    • Saves the fetched data to a JSON file (youtube_channel_data.json) for easy access and analysis.

🔍 How It Works

  1. Input:
  2. Process:
    • The script makes API requests to fetch video IDs and their metadata.
    • It ensure all videos of the channel are retrieved.
  3. Output:
    • A JSON file containing structured video data.

🛠 System Requirements

Dependencies


📄 License

This project is licensed under the MIT License. See the LICENSE file for details.