Skip to main content

YouTube video thumbnail download

Project description

YouTube Video Thumbnail

import ytthumb


# Get Thumbnail
thumbnail = ytthumb.thumbnail('https://youtu.be/rokGy0huYEA')
thumbnail = ytthumb.thumbnail(
    video="https://youtu.be/rokGy0huYEA",  # You can alse add id
    quality="sd"  # Not required
)
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',  # Not required
    quality='sd'  # Not required
)
# => Download thumbnail in 'thumbnail.jpg'

Installation

pip install YTThumb

Features

  • YouTube video link/id to thumbnail
    • Quality select option
  • YouTube video link/id to download thumbnail
    • Quality select option
    • Custom name

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: YTThumb-1.4.1.tar.gz
  • Upload date:
  • Size: 2.8 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

Hashes for YTThumb-1.4.1.tar.gz
Algorithm Hash digest
SHA256 531898a969c76951abcf458c61b812450da8cb49375d94b496629aa859a7c5f8
MD5 71699ec4ad3a4b0173c52481456cfc7f
BLAKE2b-256 d55fcd0b730709d3726570e7a13653f19bff3954aad8d0243185ef0b46c8bea0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: YTThumb-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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

Hashes for YTThumb-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54b5aea7e31f34552931c1ab42c202bbf20243aeccab65d2dae102a31f37d32b
MD5 c988f41edbbb86739d07f65435d61263
BLAKE2b-256 491eb87be1602347825dc4190ccc347e0630672c5b9a452d33c07794e67df64b

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