Youtube-Video-Thumbnail
A youtube video link or id to video thumbnail python package.
Made with Python3
(C) @FayasNoushad
Copyright permission under MIT License
License -> https://github.com/FayasNoushad/Youtube-Video-Thumbnail/blob/main/LICENSE
Installation
pip3 install ytthumb
Usage
Basic Usage
import ytthumb
thumbnail = ytthumb.thumbnail(
video="https://youtu.be/rokGy0huYEA"
)
print(thumbnail)
Advanced Usage
import ytthumb
thumbnail = ytthumb.thumbnail(
video="https://youtu.be/rokGy0huYEA",
quality="sd"
)
print(thumbnail)
Available Qualities
- sd - Standard Quality
- mq - Medium Quality
- hq - High Quality
- maxres - Maximum Resolution
Help
import ytthumb
help = help(ytthumb.thumbnail)
print(help)