Skip to main content

Download Twitch channel thumbnail

Project description

twitch-thumbnail

Download Twitch channel thumbnail

Install

pip install twitch-thumbnail

Require FFMPEG

Usage

synchronous

from twitch_thumbnail import download_thumbnail

download_thumbnail("woowakgood", "thumbnail.png")

asynchronous

import asyncio
from twitch_thumbnail.asynchronous import download_thumbnail

async def main():
    await download_thumbnail("woowakgood", "thumbnail.png")

asyncio.run(main())

Twitch OAuth Token

https://twitch.tv -> Devtools Console

document.cookie.split("; ").find((item) => item.startsWith("auth-token="))?.split("=")[1];
download_thumbnail("woowakgood", "thumbnail.png", twitch_oauth="your-personal-oauth-token")

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

twitch-thumbnail-1.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

twitch_thumbnail-1.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file twitch-thumbnail-1.1.1.tar.gz.

File metadata

  • Download URL: twitch-thumbnail-1.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for twitch-thumbnail-1.1.1.tar.gz
Algorithm Hash digest
SHA256 46ce75615e326c641d324dad6b056635d0d78d4c1af0f01b606fe008fe2480a5
MD5 d1636f158785e399107b096b5d2235ca
BLAKE2b-256 5b4639c4c45b2d291c92c9b43117a50dfcf52719103c176ee83162899faf9ed4

See more details on using hashes here.

File details

Details for the file twitch_thumbnail-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for twitch_thumbnail-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 062bfa2c2f56f178c827e45a99ea11081696210cfb32f2c0b266bb11501c1a34
MD5 679d9ec03685a81b15e67eaca92fefb3
BLAKE2b-256 7668aa550c2f5312b22a579575b5c1c2665de1ffa06396f72888e471e51c2621

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