-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Subtitle Decoder #14
Comments
facing the same issue. please resolve |
Yep I know this one. But I don't know how it is encoded. Any idea how it was encoded? |
ENCRYPTION ALGORITHM: AES 128 CBC |
New version is released (v0.1.7) which should fix this. Without decryption: $ kisskh dl https://kisskh.co/Drama/Night-Has-Come?id=8357 -f 1 -l 1 -o .
2023-12-21 07:06:47,616 - INFO - Getting details for Episode 1...
[generic] Extracting URL: https://hls05.videodelivery.shop/hls05/Night-Has-Come-Ep1/index.m3u8
[generic] index: Downloading webpage
[generic] index: Downloading m3u8 information
[generic] index: Checking m3u8 live status
[info] index: Downloading 1 format(s): 0
[download] ./Night_Has_Come/Night_Has_Come_E01.mp4 has already been downloaded
[download] 100% of 187.75MiB
2023-12-21 07:06:50,121 - INFO - Downloading English sub...
$ head Night_Has_Come/Night_Has_Come_E01.en.txt
1
00:00:17,230 --> 00:00:20,620
O7/IcKbSiPWvjf9ZDApGz5k1HcFRViOkWZh7ycxseodPloMXNEAvgMCheiFhfXJD
2
00:00:21,380 --> 00:00:24,740
omMKrTrmZ5GZkwgexx6RLsogSJoBF4veRLTSPVLDF3TyXC+CcXXeQR/Pu21iQLC+
3
00:00:34,920 --> 00:00:39,410 With decryption: $ export KISSKH_KEY=8056483646328763
$ export KISSKH_INITIALIZATION_VECTOR=6852612370185273
$ kisskh dl https://kisskh.co/Drama/Night-Has-Come?id=8357 -f 1 -l 1 -o . -ds
2023-12-21 07:05:33,476 - INFO - Getting details for Episode 1...
[generic] Extracting URL: https://hls05.videodelivery.shop/hls05/Night-Has-Come-Ep1/index.m3u8
[generic] index: Downloading webpage
[generic] index: Downloading m3u8 information
[generic] index: Checking m3u8 live status
[info] index: Downloading 1 format(s): 0
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 223
[download] Destination: ./Night_Has_Come/Night_Has_Come_E01.mp4
[download] 100% of 187.75MiB in 00:00:07 at 24.86MiB/s
WARNING: index: Possible MPEG-TS in MP4 container or malformed AAC timestamps. Install ffmpeg to fix this automatically
2023-12-21 07:05:43,009 - INFO - Downloading English sub...
$ head Night_Has_Come/Night_Has_Come_E01.en.txt
1
00:00:17,230 --> 00:00:20,620
(Lee Jae In / Kim Woo Seok / Choi Ye Bin)
2
00:00:21,380 --> 00:00:24,740
(Cha Woo Min / Ahn Ji Ho / Jeong So Ri)
3
00:00:34,920 --> 00:00:39,410 Not hardcoding the IV and key as they may change in future. |
it is not working for me
|
You don't need decrypter for that series: $ kisskh dl "https://kisskh.co/Drama/My-Boss?id=8273" -f 3 -l 8 -o .
2024-01-07 01:02:36,276 - INFO - Getting details for Episode 3...
[generic] Extracting URL: https://cachemp4.site/My-Boss.Ep3.mp4?v=12
[generic] My-Boss.Ep3: Downloading webpage
[info] My-Boss.Ep3: Downloading 1 format(s): mp4
[download] Destination: ./My_Boss/My_Boss_E03.mp4
[download] 100% of 416.24MiB in 00:00:02 at 176.38MiB/s
2024-01-07 01:02:39,958 - INFO - Downloading English sub...
2024-01-07 01:02:40,236 - INFO - Getting details for Episode 4...
[generic] Extracting URL: https://cachemp4.site/My-Boss.Ep4.mp4?v=1
[generic] My-Boss.Ep4: Downloading webpage
[info] My-Boss.Ep4: Downloading 1 format(s): mp4
[download] Destination: ./My_Boss/My_Boss_E04.mp4
[download] 100.0% of 400.65MiB at 251.97MiB/s ETA 00:00^C
Aborted!
$ head -20 My_Boss/My_Boss_E03.en.srt
1
00:01:35,653 --> 00:01:38,802
(My Boss)
2
00:01:39,210 --> 00:01:41,937
(Episode 3)
3
00:01:42,018 --> 00:01:44,842
(Is it because of Cheng Yao that I fell asleep?)
4
00:02:00,043 --> 00:02:01,575
Cheng Yao, wake up.
5
00:02:03,748 --> 00:02:04,748
Wake up. |
There are a lot of series and it's hard to check which episodes require decryption. Is it possible to automatically trigger download if decryption fails? Or something to check if the downloaded file requires decryption or not and automatically downloads accordingly? |
Sorry, it seems as new episodes are out, they decrypted the subtitle of the old episode. Eg. for ep 9 https://kisskh.co/Drama/My-Boss/Episode-9?id=8273&ep=144285&page=0&pageSize=100 I'm getting ValueError: Invalid key size (144) for AES. |
@debakarr You now need a key for My Boss Ep 16 |
use below method that works for me, set ALGORITHM=AES 128 CBC after use kisskh dl "https://kisskh.co/Drama/The-Rise-of-Ning/Episode-5?id=9174&ep=165215&page=0&pageSize=100" -o . -ds this will help you decrypt subtitle. but downloaded fill will be text file. so, you have to save that file as .srt. then all set. try this. |
It took me half an hour to figure out, so here's what I did kisskh dl "https://kisskh.co/Drama/The-Cornered-Mouse-Dreams-of-Cheese/Episode-1?id=9383&ep=159701&page=0&pageSize=100" --key "8056483646328763" --initialization-vector "6852612370185273" -o "\192.168.0.102\Multimedia\zz Unprocessed\z To Watch" -ds couldn't find anywhere about language codes.. is it "eng" or "en" or? |
Thanks, that works for me! |
hey, can I know what the algorithm is for? |
Today provided keys not working for https://kisskh.co/Drama/She-Rides-the-Wind/Episode-24?id=10139&ep=173530&page=0&pageSize=100 these are not working |
can anyone please provide new KISSKH_KEY & KISSKH_INITIALIZATION_VECTOR ? Thanks |
i think you installed latest python in your system. as per above image these are the version defined for pip to work. so install any version from above list. i'm using 3.10.10
set ALGORITHM=AES 128 CBC after use kisskh dl "https://kisskh.co/Drama/The-Rise-of-Ning/Episode-5?id=9174&ep=165215&page=0&pageSize=100" -o . -ds this will help you decrypt subtitle. but downloaded fill will be text file. so, you have to save that file as .srt. then all set. try this. |
Unfortunately, it's not about having the latest python version.
That IV and Key do indeed work for 99% of titles on the site; however, uploads of newer episodes starting from approximately 2 weeks ago no longer use that key and/or IV. I have tested by manually downloading the SRT files and decrypting with my own python scripts and by utilizing an online decrypter to test a single line at a time. |
This IV and key are not working for the episodes that have been uploaded in the past few weeks, can you please provide the new IV and key |
Hi all, try: |
Why would you publish the new codes. Now they will change it again and you have to work all over to figure it out the new ones. Can't you pass it in private????? |
Hi juanchoarg87,
- Can't you pass it in private
How could I do that?
The problem is not the actual key but the announcement that could lead to a change.
If you have a solution, I'll do it that way the next time.
Regards,
John
…On Saturday, February 15th, 2025 at 7:47 PM, juanchoarg87 ***@***.***> wrote:
Why would you publish the new codes. Now they will change it again and you have to work all over to figure it out the new ones. Can't you pass it in private?????
—
Reply to this email directly, [view it on GitHub](#14 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BPP7X677HWIPK5LRCQZUE2L2P6KT5AVCNFSM6AAAAABPXMPIG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRRGA3DQOBTGM).
You are receiving this because you commented.Message ID: ***@***.***>
[juanchoarg87]juanchoarg87 left a comment [(debakarr/kisskh-dl#14)](#14 (comment))
Why would you publish the new codes. Now they will change it again and you have to work all over to figure it out the new ones. Can't you pass it in private?????
—
Reply to this email directly, [view it on GitHub](#14 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BPP7X677HWIPK5LRCQZUE2L2P6KT5AVCNFSM6AAAAABPXMPIG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRRGA3DQOBTGM).
You are receiving this because you commented.Message ID: ***@***.***>
|
CODE NOT WORK |
Some shows have encoded subtitles, which is similar to - I think - HiTv encoding https://sepr0.com/posts/encrypted-subtitles-gohitv/
Sample URL of encoded subtitles:
https://kisskh.co/Drama/Seasons-of-Blossom?id=6082
The text was updated successfully, but these errors were encountered: