Skip to content

Quickly pull the highest resolution thumbnail image available for a YouTube video.

License

Notifications You must be signed in to change notification settings

coremke/django-youtube-thumbnail

Repository files navigation

django-youtube-thumbnail

Quickly pull the highest resolution thumbnail image available for a YouTube video.

Build Status Latest Version

Quick start

  1. Install the package from pypi:

    pip install django-youtube-thumbnail
  2. Add "youtube_thumbnail" your INSTALLED_APPS:

    INSTALLED_APPS = (
        ...
        'youtube_thumbnail',
    )
  3. Use the provided template tag to get the thumbnail

{% load youtube_thumbnail %}
<img src="{% youtube_thumbnail_url 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' %}">

Cache

If you have the django cache enabled, thumbnail results will be cached to avoid unnecessary lookups.

About

Quickly pull the highest resolution thumbnail image available for a YouTube video.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages