A python script for Linux designed to make the process of downloading and extracting audio from large amounts of videos with yt-dlp easier.
The script can take a link to a video or playlist as input and pass the arguments to yt-dlp, as well as renaming the files afterwards to be the same as the video's title (Removing the video ID added automatically by yt-dlp). It can also take a file containing links to videos or playlists and pass each link to yt-dlp iteratively for efficient mass downloading.
- Python >3.10.0
- yt-dlp
- GCC (if installing as a binary)
-
Clone this repository
git clone https://github.com/AShadedBlobfish/yt-audio-extract
-
Navigate to folder
cd yt-audio-extract
-
Run install script as root (root permissions are required to write to /usr/bin)
sudo ./install.sh
-
Clone this repository
git clone https://github.com/AShadedBlobfish/yt-audio-extract
-
Execute script using the following command
python [path to yt-audio-extract directory]/yt-audio-extract.py