downloader for videos on ktkkt.cc
Project description
ktkkt-downloader
About
A tool to get anime from ktkkt.cc with CLI (Command Line Interface) and GUI (Graphical User Interface). It currently supports to download one single episode / all episodes in a series.
Prerequisites
To running this tool, please make sure the following prerequisites are ready:
Usage (Package)
from ktkkt_downloader import KtkktDownloader
downloader = KtkktDownloader(args.directory)
# download all episodes in a series (e.g. 鬼滅之刃粵語)
series_url = "https://www.ktkkt.cc/movie/index15170.html"
downloader.download_series(series_url)
# download single episode (e.g. 鬼滅之刃粵語 EP.01)
episode_url = "https://www.ktkkt.cc/play/15170-0-0.html"
downloader.download_episode(episode_url)
Usage (Standalone)
Before running the application, required packages need to be installed by following command:
$ python -m pip install -r requirements.txt
CLI (Command Line Interface)
# download single episode
$ python __main__.py -d OUTPUT_DIR -u TARGET_URL
# download all episodes in a series
$ python __main__.py -d OUTPUT_DIR -u TARGET_URL -a
Example
鬼滅之刃粵語,
series URL: https://www.ktkkt.cc/movie/index15170.html
episode 1 URL: https://www.ktkkt.cc/play/15170-0-0.html
# download 鬼滅之刃粵語 episode 1 to /home/ktkkt/ by the episode URL
$ python __main__.py -d /home/ktkkt/ -u https://www.ktkkt.cc/play/15170-0-0.html
# download 鬼滅之刃粵語 all episodes to /home/ktkkt/ by the episode URL
$ python __main__.py -d /home/ktkkt/ -u https://www.ktkkt.cc/play/15170-0-0.html -a
# download 鬼滅之刃粵語 all episodes to /home/ktkkt/ by series URL
$ python __main__.py -d /home/ktkkt/ -u https://www.ktkkt.cc/movie/index15170.html -a
GUI (Graphical User Interface)
# start gui
$ python __main__.py
Provide the TARGET_URL, OUTPUT_DIR and then click the buttons to download the single episode / all episodes in a series
License
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
ktkkt-downloader-1.0.0.tar.gz
(18.3 kB
view hashes)
Built Distribution
Close
Hashes for ktkkt_downloader-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6933db9757f43f19480923d7dccb91f2c00f9ca74a8490c267b8ddec98741bdf |
|
MD5 | 7147645c10fbf73b8eb86ef9215c454d |
|
BLAKE2b-256 | 26a9c13aba9c1c54cfb73ca12fdf6b57f6648991123d4301b65315dd272e20bf |