mm-yt-cli
"mm-yt-cli" is a command-line tool that allows you to fetch metadata (title, author, description, etc.) from YouTube videos.
Installation
You can run "mm-yt-cli" directly using npx without installing it globally:
npx mm-yt-cli --url <YOUTUBE_URL>
You can install "mm-yt-cli" globally using npm:
npm install -g mm-yt-cli
You can install "mm-yt-cli" globally using Yarn:
yarn global add mm-yt-cli
Usage
mm-yt-cli --url <YOUTUBE_URL>
or
npx mm-yt-cli --url <YOUTUBE_URL>
Replace <YOUTUBE_URL>
with the URL of the YouTube video for which you want to fetch metadata.
Options
-
--url
: Required. The URL of the YouTube video for which to fetch metadata.
Example Usage
Here's an example of how you can use "mm-yt-cli" to fetch metadata from a YouTube video:
npx mm-yt-cli --url https://www.youtube.com/watch?v=ZvxBCYSnAM0
Output
{
title: 'Deno Setup with Gitpod',
description: 'Gitpod can provide fully initialized, perfectly set-up developer environments for any kind of software project. What is Deno?A modern runtime for JavaScript…',
keyword: 'Deno, Deno land, Gitpod, docker, setup, framework, Manoj Mukherjee, Tech KnowledgeBase, Nodejs, Javascript Runtime',
category: 'Science & Technology',
longDescription: 'Gitpod can provide fully initialized, perfectly set-up developer environments for any kind of software project. \n' +
'\n' +
'What is Deno?\n' +
'A modern runtime for JavaScript and TypeScript.\n' +
'\n' +
'Installation\n' +
'Deno ships as a single executable with no dependencies. You can install it. \n' +
'\n' +
'Article - https://www.linkedin.com/pulse/deno-setup-gitpod-manoj-mukherjee/\n' +
'\n' +
'#deno #gitpod #TechKnowledgeBase'
}
License
This project is licensed under the MIT License.
Issues
If you encounter any issues with "mm-yt-cli", please open an issue on the GitHub repository.
Credits
"mm-yt-cli" is created and maintained by Manoj Mukherjee.
Acknowledgements
Special thanks to the following projects for providing dependencies used in "mm-yt-cli":