by TAForObvReasons · 8y ago · 0 comments
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
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.
@ "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