YouTube video thumbnail download
Project description
Made with Python3
(C) @FayasNoushad
Copyright permission under MIT License
License -> https://github.com/FayasNoushad/Youtube-Video-Thumbnail/blob/main/LICENSE
Installation
pip install YTThumb
Usage
import ytthumb
# Basic Usage
thumbnail = ytthumb.thumbnail('https://youtu.be/rokGy0huYEA')
print(thumbnail)
# => https://img.youtube.com/vi/rokGy0huYEA/sddedault.jpg
# Advanced Usage
thumbnail = ytthumb.thumbnail(
video="https://youtu.be/rokGy0huYEA",
quality="sd"
)
print(thumbnail)
# => https://img.youtube.com/vi/rokGy0huYEA/sddedault.jpg
# Available Qualities
print(ytthumb.qualities())
# => ["sd", "mq", "hq", "maxres"]
# Download Thumbnail
ytthumb.download_thumbnail(
video,
name='thumbnail.jpg'
)
# => Download thumbnail in 'thumbnail.jpg'
Credits
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.3.9.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file YTThumb-1.3.9.tar.gz
.
File metadata
- Download URL: YTThumb-1.3.9.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f060d86bbe521fdf5d26d51d2e081ac5fdeb838f4bedcebdf43b9835d6866fe |
|
MD5 | 35427362fb612e20af90ea750540682d |
|
BLAKE2b-256 | 27b9ac76d7ce1af723da7ad2d745588ff820c1d61e4a2ef4cafca6137fbf621f |
File details
Details for the file YTThumb-1.3.9-py3-none-any.whl
.
File metadata
- Download URL: YTThumb-1.3.9-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3230bf692aebe81de316671ea918a1c7f9d062a1df8e969077c3c8e6bbdd2450 |
|
MD5 | 9d1e644bffadf53fc2943750742a3419 |
|
BLAKE2b-256 | d82735dfad690c957038f5a301a9894c1e28c2bc3202d59db1e21f70e8b85ae3 |