Python program for downloading videos using redvid
and yt-dlp
.
- Python 3.x
ffmpeg
(install via system package manager):- On Ubuntu/Debian:
sudo apt-get install ffmpeg
- On MacOS:
brew install ffmpeg
- On Windows: Download from the FFmpeg website and add it to your system PATH.
- On Ubuntu/Debian:
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Install Python dependencies:
pip install -r requirements.txt
-
Create data.py file in root directory and add video URLs
// data.py def data(): return [ 'https://www.youtube.com/watch?v=<YOUTUBE_ID>', ]
-
Run the script:
python3 main.py
- YouTube
- TikTok
We are actively working on adding support for additional platforms in future updates.