News for hackers. Stuff that matters.
Re:Building a YouTube MP3 Downloader with Exodus, FFmpeg, an... by TAForObvReasons on Saturday May 26, 2018 @01:51PM (#17163321)
The actual youtube metadata extraction is performed by the awesome ytdl-core library https://www.npmjs.com/package/ytdl-core https://github.com/fent/node-ytdl-core

For local work, https://www.npmjs.com/package/ytdl is a CLI powered by the same module. There is also a python-based youtube-dl command https://rg3.github.io/youtube-dl/ that supports a ton of sites

Re:Building a YouTube MP3 Downloader with Exodus, FFmpeg, an... by qz3 on Sunday May 27, 2018 @05:49AM (#17166240)
Downloading YouTube files is ridiculously simple.

http://m.youtube.com/watch?v=XxXxXx&layout=mobile&ajax=1

There you have all stream files in a nice json format, which means opus and m4a for audio files.

I have a python project which is very quick to gather metadata, because I wanted to have a responsive YouTube app without using the browser. Had no time for it recently, though.

Re:Building a YouTube MP3 Downloader with Exodus, FFmpeg, an... by slow_donkey on Thursday May 31, 2018 @04:21PM (#17199853)
Thanks this is actually really useful. Never knew about it
Re:Building a YouTube MP3 Downloader with Exodus, FFmpeg, an... by rasz on Sunday May 27, 2018 @02:15AM (#17165721)
or you could just generate direct link (@) in the browser and download m4a without any external programs.

@ "Download YouTube Videos as MP4" did that, but author removed that script from the internet (got google nastygram maybe?). Iv got a copy at https://github.com/raszpl/smplayer4YT