๐ I wrote a youtube-dl wrapper to easily download and manage youtube audio(s) (with added features)
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
Hi all,
I wrote a simple youtube-dl wrapper program (with added features) in python that helps in easy management of youtube audio(s)/playlists - yt-audio
It is cross-platform (Windows/Linux/MacOS) (Not tested on MacOS since I do not have Mac hardware - But it should work).
The code is available on github. Users can download yt-audio using pip. Arch Linux users can use AUR as well.
$ [sudo] pip3 install --upgrade yt-audio
Description and Features
yt-audio is a command-line program that is used download and manage audio from youtube.com. It is a youtube-dl wrapper program, which means it uses youtube-dl as backend for downloading audio. yt-audio tries to make audio/playlist management easy for users. It is cross-platform (Windows/Linux/MacOS).
Features
- Configure/Setup your own command-line arguments for managing titles/playlists
- Ability to save each audio/playlist to a different directory (directory specified in argument).
- Option to keep track of already-downloaded playlist titles with or without archive file..
- Manage single/playlist audio(s)
Usage example (more info in documentation) -
# Synchronizes/downloads --custom1 and --custom2 custom argument URLs and download specified URL as well. $ yt-audio --custom1 --custom2 https://youtube.com/playlist?list=abcxyz # Saves playlist to /my/path/p1/<PlaylistName>/ and single audio to /some/another/path $ yt-audio https://youtube.com/playlist?list=abcxyz::/my/path/p1 https://www.youtube.com/watch?v=abcxyz::/some/another/path
Important Note: yt-audio uses configuration file to store custom arguments and other user settings. The config file is not installed/copied during installation. The user has to copy the config file manually. Please read config file setup instructions for details.
More details about the project are available on github.
I am open to suggestions. Please raise an issue if you found a bug or have a feature request :)
GitHub: https://github.com/pseudoroot/yt-audio
Arch User Repository (AUR): https://aur.archlinux.org/packages/yt-audio/
pip (pypi): https://pypi.org/project/yt-audio/
[link] [comments] ...