Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
31–40 of 49 posts
Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#32YouTube-dl demolishes 100 pain points of using the modern web This wrapper gets rid of the only pain point in using YouTube-dl which was having to google every time you wanted just the audio. Great work
Off the top of my head, isnt that just the -x flag?
Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#33Earlier quoted context omitted.
I have a file under ~/bin called youtube-mp3 which has this one-liner: exec $HOME/d/youtube-dl/youtube-dl -t -x --audio-format=mp3 "$@" (Edit: I'm sure this script does a lot more, but making ytdl download only the audio is fairly simple. Note the above command converts the file to mp3 which some people may not want to do because it's lossy.)
What is -t?
Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#34Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#35Cannot 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.
# 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"Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#36Earlier quoted context omitted.
How does simply opening a website bind you to any contract?
It isn't backed by the force of the US judicial system, but when YouTube says a person's Google account will be banned for commercial usage, I trust them.
And anyway I don't see how downloading a video is "commercial usage".
Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#37Anyone else write a a lot of ripper scripts like youtube-dl but never share them for fear of starting an arms race with the content provider? It's easy to rip most .ts/XHR video streams with a bash loop.
youtube-dl supports a _lot_ of providers/sites[1]. Perhaps it's easier to contribute a new downloader (it's pretty simple[2]), and judging by the number of updates required most sites don't care that much. 1. https://github.com/ytdl-org/youtube-dl/tree/master/youtube_d... 2. https://github.com/ytdl-org/youtube-dl/blob/master/youtube_d...
Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#38Anyone else write a a lot of ripper scripts like youtube-dl but never share them for fear of starting an arms race with the content provider? It's easy to rip most .ts/XHR video streams with a bash loop.
Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#39Anyone else write a a lot of ripper scripts like youtube-dl but never share them for fear of starting an arms race with the content provider? It's easy to rip most .ts/XHR video streams with a bash loop.
Re: Show HN: YouTube-dl wrapper with added features to easily manage YouTube audio
#40Nice, I have script that does speech to text using google cloud and I wanted an easy way to get text out of youtube videos so this will help.