Simple downloaded for https://kisskh.me/
Project description
kisskh-dl
Simple downloaded for https://kisskh.me/
Installation
pip install kisskh-downloader
Right now we are using ffmpeg to convert the downloaded stream file to some other format (.mp4, .mkv, .avi etc.). Follow the instruction here to install ffmpeg. Note if ffmpeg is not found then no conversion will take place. Also stream files will not be deleted.
NOTE: Although of now the video files downloaded are in .ts format, you can still use players like VLC to play the video.
Usage
kisskh dl --help
Usage: kisskh dl [OPTIONS] DRAMA_URL_OR_NAME
Options:
-f, --first INTEGER Starting episode number.
-l, --last INTEGER Ending episode number.
-q, --quality [360p|480p|540p|720p|1080p]
Quality of the video to be downloaded.
-o, --output-dir TEXT Output directory where downloaded files will
be store.
-fd, --force-download Select nearest video quality if expected one
not available.
-cs, --convert-stream-to TEXT Convert the stream (.ts) to other format
(.mkv, .mp4, .avi etc.).
-ks, --keep-stream-file Keep the .ts format after the conversion is
done.
--help Show this message and exit.
Direct download entire series in highest quality available
kisskh dl "https://kisskh.me/Drama/Money-Heist--Korea---Joint-Economic-Area?id=5044"
Search and download entire series in highest quality available
kisskh dl "Stranger Things"
1. Stranger Things - Season 4
2. Stranger Things - Season 1
3. Stranger Things - Season 2
4. Stranger Things - Season 3
Please select one from above: 1
Download specific episodes with specific quality
Downloads episode 4 to 8 of Alchemy of Souls
in 720p:
kisskh dl "https://kisskh.me/Drama/Alchemy-of-Souls?id=5043" -f 4 -l 8 -q 720p -fd
Downloads episode 3 of A Business Proposal
in 720p:
kisskh dl "https://kisskh.me/Drama/A-Business-Proposal?id=4608" -f 3 -l 3 -q 720p -fd
TODO
- Add ability to export video in other format using ffmpeg
- Add unit test
- Handle Ctrl + C signal in terminal
- Throw appropriate exception or handles it somehow
- In valid URL pass
- Video file not present
- Add option to download subtitles
- Enable CI/CD for linting (flake8), formatting (black and isort) and security (bandit)
- Add ability to export all download link
- Add ability to open stream in some player
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
Built Distribution
Close
Hashes for kisskh_downloader-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11f7f1e3c12c712dfa703f723de3fe2a2080324fc7e9c033e659767cc08e4f73 |
|
MD5 | 0df363d3be627954fcc9ebaebfc5922d |
|
BLAKE2b-256 | ab723cbc6f2b1851cafd70d02328c1f74efea3fcbf98d0be755df7f5291f460f |