YouTube video thumbnail downloader
Project description
YouTube Video Thumbnail
A simple youtube video thumbnail downloader with more qualities via youtube video link or id.
Installation
pip install YTThumb
Usage
Get Thumbnail
import ytthumb
video = 'https://youtu.be/rokGy0huYEA' # link/id
# Basic Usage
print(ytthumb.thumbnail(video))
# => returns thumbnail link
# Advanced Usage
thumbnail = ytthumb.thumbnail(
video=video,
quality="sd" # Not required
)
print(thumbnail)
# returns thumbnail link
Get Qualities
import ytthumb
print(ytthumb.qualities())
# returns list of qualities
Download Thumbnail
import ytthumb
ytthumb.download_thumbnail(
video='https://youtu.be/rokGy0huYEA',
name='thumbnail.jpg', # Not required
quality='sd' # Not required
)
# Download thumbnail in 'thumbnail.jpg'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
YTThumb-1.4.4.tar.gz
(2.9 kB
view hashes)