A powerful YouTube search and high-quality download library
Project description
SHIVAAY EXTRACT TUBE
Welcome to Shivaay Extract Tube, the ultimate lightweight tool to extract data and download media from YouTube without needing official APIs or heavy automation.
Developed by: Shivaay
Repository: Shivaay_Extract_Tube
🚀 Features
This repository is packed with capabilities:
1. 🎥 Media Downloader (downloader.py)
A robust command-line tool to searching and downloading content.
- Search & Download: Search for any keyword (e.g., "New Haryanvi Songs").
- Channel Grabber: Download the latest videos from any specific YouTube Channel.
- Audio/Video Choice: Choose between downloading just the Audio (Music) or the Full Video.
- Smart Formats: Automatically selects the best format that works on your PC (avoids needing FFmpeg).
2. 🔍 Advanced Scraping Library (shivaay_extract_tube/)
A high-speed scraping module that powers the downloader.
- No API Keys Needed: Works out of the box.
- Get Channel Videos: Fetch every single video ID from a channel.
- Get Playlists: Extract all videos from a playlist URL.
- Search: Perform YouTube searches programmatically.
- Shorts & Streams: Can specifically target Shorts or Live Streams.
🛠️ Installation
- Install Python (if not already installed).
- Install Dependencies:
pip install -r requirements.txt
(This installsrequests,typing_extensions, andyt-dlp)
⚡ How to Run
To Download Videos/Music:
Simply run the interactive downloader script:
py downloader.py
To Run the GUI App:
py gui_app.py
Follow the on-screen prompts to search for videos or paste a Channel ID.
📚 Using as a Python Library
Shivaay Extract Tube is designed to be easily integrated into other projects.
📦 Installation
If you want to use it in other projects on your PC, install it in editable mode:
py -m pip install -e .
💻 Code Example
import shivaay_extract_tube
# 1. Get videos from a specific Channel
print("--- Channel Videos ---")
videos = shivaay_extract_tube.get_channel(channel_username="ShivaayDeveloper", limit=5)
for v in videos:
title = v['title']['runs'][0]['text']
print(f"ID: {v['videoId']} | Title: {title}")
# 2. Search for videos
print("\n--- Search Results ---")
search_results = shivaay_extract_tube.get_search("Python Tutorial", limit=3)
for result in search_results:
print(f"Found: {result['title']['runs'][0]['text']}")
📂 Project Structure
downloader.py- The main user-friendly tool for downloading.prepare_icon.py- The main user-friendly tool for downloading.shivaay_extract_tube/- The core folder containing the scraping logic.requirements.txt- List of required Python packages.README.md- This file.
📦 Building Standalone App (.exe)
To create a portable .exe file that you can share with friends (no Python required for them):
- Double-click
BUILD_EXE.bat. - Wait for the process to finish (it installs dependencies and compiles the code).
- Your app will be ready in the
dist/folder namedShivaayTube.exe.- You can copy/paste this
.exefile anywhere or send it to another PC.
- You can copy/paste this
⚠️ Disclaimer
This tool is for educational purposes only. Please respect YouTube's Terms of Service and Copyright laws when downloading content.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shivaaytube-1.0.0.tar.gz.
File metadata
- Download URL: shivaaytube-1.0.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db1d82b755bd84e3920bc74350f218884b2a90c825673327ff341c4d415e39f5
|
|
| MD5 |
b6f158e9e88ec4ecf98a2a7d1e1b7357
|
|
| BLAKE2b-256 |
8599ebbd580bbd536f1c9c4cfa843fe26f4add0999dc33916947f21bd314f0d7
|
File details
Details for the file shivaaytube-1.0.0-py3-none-any.whl.
File metadata
- Download URL: shivaaytube-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b49351c12eec5ec37e60783585a62b10379d538b0ccb6878223ed7e1f4fb8be
|
|
| MD5 |
fb66d481ba6bd8e0e0f4aaf6b8130150
|
|
| BLAKE2b-256 |
ba097f34389b5acb9f4e37a825f7ad3e9035c0353db51563ecc2822efa07a8c0
|