yt2clip
is a Python script for downloading videos from YouTube and optionally converting them to various formats. This tool is designed for ease of use and efficiency, allowing batch downloads and format conversion with minimal hassle.
Before you start using yt2clip
, ensure you have the following installed:
- Python 3.x
yt-dlp
pyfiglet
ffmpeg
(for format conversion)
-
Install Python: Make sure Python 3.x is installed on your system. You can download it from Python's official website.
-
Install Dependencies: Run the following command to install the required Python libraries:
pip install yt-dlp pyfiglet
-
Install FFmpeg:
yt2clip
uses FFmpeg for format conversion. You can find installation instructions for FFmpeg here.
-
Run the Script: Open your terminal and run
yt2clip
by navigating to its directory and typing:python script.py
-
Enter URLs: When prompted, enter the YouTube URLs separated by commas.
-
Choose Format: Enter your desired output format (e.g., mp4, mp3, avi, flv).
-
Download & Convert: The script will download and convert the videos concurrently.
To exit yt2clip
, simply type 'exit' when prompted for URLs, or use Ctrl+C
in the terminal.
yt2clip
is intended for personal use and respects copyright laws. Please ensure you comply with YouTube's terms of service when using this tool.
Happy downloading! 🎉📹