Skip to main content

A youtube video link or id to video thumbnail python package.

Project description

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)

Credits

Project details


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.2.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

YTThumb-1.2.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file YTThumb-1.2.2.tar.gz.

File metadata

  • Download URL: YTThumb-1.2.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for YTThumb-1.2.2.tar.gz
Algorithm Hash digest
SHA256 4d451b3fd22b20ecc52af62298dbf9810b4b76c6f8f22fa798484a3330d0abfd
MD5 aa2c20835a569a701d4941369157de1b
BLAKE2b-256 12b3dacbc3ea0a3909bf8974288643aee4663663ad4696f199a5c35955585694

See more details on using hashes here.

File details

Details for the file YTThumb-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: YTThumb-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for YTThumb-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5477293bfb82a41c7f875a432f743ba75e5a158276f44edb919967d3dd117316
MD5 eee1810e41c372e1e3b2f1b73c9db799
BLAKE2b-256 5fc9e6d475e8610019286676644990f56f4af47342437f33c26d90419c41e34b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page