YouTube Video Info Extractor π¬
A simple web project that extracts video thumbnail, channel name, views, published date, and description from YouTube videos using the YouTube Data API v3.
β¨ Features
β Fetches video thumbnail
β Displays channel name
β Shows views and published date
β Displays video description
π Built With
YouTube Data API v3
HTML, JavaScript
π How to Get Your YouTube API Key
Go to Google Cloud Console
Create a new project β give it a name
Navigate to APIs & Services β Library
Search for: YouTube Data API v3
Click Enable β then go to Credentials β Create API Key
Copy the API key and use it in your project
Important: Keep your API key private and do not share it publicly.
π Usage
Clone or download this repository
Open the script.js file
Replace the placeholder with your API key:
const API_KEY = "YOUR_API_KEY_HERE";
Open index.html in your browser
Enter a YouTube video URL or ID
View the extracted information: thumbnail, channel name, views, published date, description
π License
This project is for learning and personal use only