3 ms·
The actual youtube metadata extraction is performed by the awesome ytdl-core library https://www.npmjs.com/package/ytdl-core https://www.npmjs.com/package/ytdl-
by TAForObvReasons 8y ago
The actual youtube metadata extraction is performed by the awesome ytdl-core library https://www.npmjs.com/package/ytdl-core https://www.npmjs.com/package/ytdl-core https://github.com/fent/node-ytdl-core https://github.com/fent/node-ytdl-core
For local work, https://www.npmjs.com/package/ytdl 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/ https://rg3.github.io/youtube-dl/ that supports a ton of sites
- rasz 8y agoor 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 https://github.com/raszpl/smplayer4YT
- qz3 8y agoDownloading YouTube files is ridiculously simple. http://m.youtube.com/watch?v=XxXxXx&layout=mobile&ajax=1 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.
- slow_donkey 8y agoThanks this is actually really useful. Never knew about it