tubeage
v0.1.3
Published
Command line utility that returns a thumbnail link when given a YouTube embed code
Downloads
4
Readme
:tv: tubeage :tv:
A node.js command line utility that takes a YouTube embed code and returns a thumbnail link to that video
You can install it from npm:
npm install tubeage -g
Usage
tubeage 0j1KA8YlZ0w
Output:
<a href="https://www.youtube.com/watch?v=0j1KA8YlZ0w"><img src="http://img.youtube.com/vi/0j1KA8YlZ0w/default.jpg"/></a>
Rendered result:
You can also access different quality thumbnails:
tubeage 0j1KA8YlZ0w mq
The options are:
- mq - medium quality
- hq - high quality
- max - maximum quality
- sd - standard definition quality