Metadata-Version: 2.2
Name: WaveYT
Version: 0.1.1
Summary: A simple YouTube video downloader using yt_dlp
Home-page: https://github.com/ompandey07/FinixDev
Author: Om Pandey
Author-email: iamompandey.it@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: yt-dlp
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# WaveYT

WaveYT is a simple Python package for downloading YouTube videos using `yt-dlp`. Designed for developers and general users alike, WaveYT makes downloading videos straightforward and efficient.

## Features

- Downloads YouTube videos in the best available video and audio format.
- Saves the downloaded video with its title as the filename.
- Easy-to-use command-line interface (CLI).

## Installation

To install WaveYT, simply use pip:

## How To use 
import yt_dlp

def download_youtube_video():
    # Get the YouTube link from the user
    video_url = input("Enter the YouTube video URL: ")

    # Define download options
    ydl_opts = {
        'format': 'best',  # Best video+audio format
        'outtmpl': '%(title)s.%(ext)s',  # Save file as the video's title
    }

    try:
        # Download the video
        with yt_dlp.YoutubeDL(ydl_opts) as ydl:
            info = ydl.extract_info(video_url, download=True)
            print(f"Downloaded: {info['title']}")
    except Exception as e:
        print("Error:", e)

if __name__ == "__main__":
    download_youtube_video()


```bash
pip install WaveYT


