youtube-metadata-cli
Get metadata on YouTube videos. Uses the wonderful youtube-dl
. Supports playlists.
Installing
npm install -g youtube-metadata-cli
Usage
Usage: youtube-metadata <url> Options: --format -f Output format Default: csv Available: csvndjsonurl Examples: youtube-metadata --format url 'https://www.youtube.com/watch?v=IFtmB2U3Clo&list=PLJ7QPuvv91Jsf2mEnwtCaVyxkuLMkRJF6'
It will write one line of metadata per video.
youtube-metadata-cli
can als be used from JavaScript:
const getYoutubeMetadata =
Contributing
If you have a question or have difficulties using youtube-metadata-cli
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.