Skip to main content

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

ktkkt-downloader screenshot Provide the TARGET_URL, OUTPUT_DIR and then click the buttons to download the single episode / all episodes in a series

License

GNU GPL v3.0

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

ktkkt-downloader-1.0.1.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

ktkkt_downloader-1.0.1-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file ktkkt-downloader-1.0.1.tar.gz.

File metadata

  • Download URL: ktkkt-downloader-1.0.1.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for ktkkt-downloader-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ee17e573e25d4fbc4d7fa9da52c9a879450aee11c0010d42fdb6ba4f7be94ff5
MD5 4d1bd78fb09f1ed31f9c0aebca79145d
BLAKE2b-256 a990bb05f56e780e07c5c51c204e4983ab00895813e6064b91fcb3813ee5134f

See more details on using hashes here.

File details

Details for the file ktkkt_downloader-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ktkkt_downloader-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77413529eab65bf183658a2397bce90067243554af65d37defd7c9b25d67a5a4
MD5 6a0c4c1427b9cda81337d687a1bbed14
BLAKE2b-256 a691e213089478f0cafd728c270c58d077887be09680b78a9072a4e52f33f34c

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