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:
- Ensure you have the necessary dependencies installed.
- Create or download a TOML configuration file named 'config.toml' in the same directory as this script.
- Configure the 'config.toml' file with appropriate values for 'main' and 'clips' paths.
- 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
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 hashes)
Built Distribution
Close
Hashes for twitch_downloader-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4be98c7660f4b313baf2cae9ad765f2a097c0b8c51ea701c79d9c31b52cb5c31 |
|
MD5 | 7db03d6f558e03af203d540cf0ac8989 |
|
BLAKE2b-256 | ba02689af7ba9aabcc0618073c962b0f706fb1afb7afecaec1e363f3082478ae |