3 ms·
Cannot understand what exactly is that. I have used a simple alias called (unsurprisingly) yt-audio for years, which is youtube-dl with appropriate flags (-x, -
by krick 7y ago
Cannot understand what exactly is that. I have used a simple alias called (unsurprisingly) yt-audio for years, which is youtube-dl with appropriate flags (-x, --audio-quality, --download-archive, -o, etc.), and this seems to be exactly that, only written in python for some reason.
- pseudoroot 7y agoIt adds a few more functionalities like setting up custom arguments, option to keep track of downloaded titles without archive file, and a few more. It just tries to make audio/playlist management easy. As mentioned, it is a youtube-dl wrapper. So under the hood it uses classic youtube-dl arguments.
- toomuchtodo 7y agoIs there any reason these features couldn't be pushed upstream into youtube-dl proper?
- darau1 7y agoCan you share this? I've been meaning to do something very similar for the longest while and haven't got around to it.
- z3ncyberpunk 7y agoJust read the man page and make an alias? That's just lazy on your part
- 3PS 7y agoFor the record, if you only use youtube-dl for the purposes of downloading audio (like me), then you can keep a config file in $HOME/.config/youtube-dl/config with default arguments so you don't have to look them up each time. For example, here's a sample from my config: # extract audio only -x # stick to mp3 --audio-format mp3 # get rid of the annoying URL stuff at the end -o "%(title)s.%(ext)s"
- rwnspace 7y agoA minor extension of the idea here and of the GP - I have aliased 'yt' and 'ytm' to target two different config files in the same folder path you gave.