Skip to main content

Simple twitch clips downloader

Project description

Twitch Downloader

This script is designed to download video content from Twitch channels. It utilizes Selenium for web scraping and requests for downloading video content.

Requirements:

  • Selenium: Python library for browser automation
  • requests: HTTP library for making requests
  • toml: Library for parsing TOML configuration files

Usage:

  1. Ensure you have the necessary dependencies installed.
  2. Create or download a TOML configuration file named 'config.toml' in the same directory as this script.
  3. Configure the 'config.toml' file with appropriate values for 'main' and 'clips' paths.
  4. Create an instance of the Downloader class and call the 'download' method with appropriate parameters.

Methods:

download: Downloads video content from the specified Twitch channel.
get_clips_src: Retrieves the source URLs for video clips.
get_urls: Retrieves the URLs of video clips for the specified channel.
download_clip: Downloads a video clip from the provided source URL.

Exceptions:

ChannelNameInputError: Raised when the channel name is not provided.
HTMLParsingError: Raised when there is an error parsing HTML content.

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twitch_downloader-0.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twitch_downloader-0.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file twitch_downloader-0.2.tar.gz.

File metadata

  • Download URL: twitch_downloader-0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for twitch_downloader-0.2.tar.gz
Algorithm Hash digest
SHA256 e7c969bfdb9313470e293a7d93491dfb16cacf26bb36a30b7a3be0bec754bd1b
MD5 5f5fbaec02be7a241610c7e63cf1bd36
BLAKE2b-256 d3e18d16a54c5c7b6695002efe7317476c3a5768c5f5bd8864ccd8e4fc427e6c

See more details on using hashes here.

File details

Details for the file twitch_downloader-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for twitch_downloader-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4be98c7660f4b313baf2cae9ad765f2a097c0b8c51ea701c79d9c31b52cb5c31
MD5 7db03d6f558e03af203d540cf0ac8989
BLAKE2b-256 ba02689af7ba9aabcc0618073c962b0f706fb1afb7afecaec1e363f3082478ae

See more details on using hashes here.

Supported by

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