Skip to main content

A powerful YouTube search and high-quality download library

Project description

SHIVAAY EXTRACT TUBE

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

  1. Install Python (if not already installed).
  2. Install Dependencies:
    pip install -r requirements.txt
    
    (This installs requests, typing_extensions, and yt-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):

  1. Double-click BUILD_EXE.bat.
  2. Wait for the process to finish (it installs dependencies and compiles the code).
  3. Your app will be ready in the dist/ folder named ShivaayTube.exe.
    • You can copy/paste this .exe file anywhere or send it to another PC.

⚠️ 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

shivaaytube-1.0.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shivaaytube-1.0.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

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

Hashes for shivaaytube-1.0.0.tar.gz
Algorithm Hash digest
SHA256 db1d82b755bd84e3920bc74350f218884b2a90c825673327ff341c4d415e39f5
MD5 b6f158e9e88ec4ecf98a2a7d1e1b7357
BLAKE2b-256 8599ebbd580bbd536f1c9c4cfa843fe26f4add0999dc33916947f21bd314f0d7

See more details on using hashes here.

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

Hashes for shivaaytube-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b49351c12eec5ec37e60783585a62b10379d538b0ccb6878223ed7e1f4fb8be
MD5 fb66d481ba6bd8e0e0f4aaf6b8130150
BLAKE2b-256 ba097f34389b5acb9f4e37a825f7ad3e9035c0353db51563ecc2822efa07a8c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page