hello, i want to know how to decrypt the subtitle also please tell me the steps because i have no idea about this thing, i am using windows.
video link: https://kisskh.co/Drama/Friendly-Rivalry/Episode-3?id=10160&ep=174850&page=0&pageSize=100
subtitle: https://sub.streamsub.top/Friendly-Rivalry.2025.Ep3.en.srt.txt1?v=092 (coded)
+ Reply to Thread
Results 1 to 5 of 5
-
-
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
-
It's a bit ridiculous they did more to secure their subtitles than their video. Anyway, I'm 100% sure there's an easier way. If it's too complicated, just wait for an easier solution from other users. But until someone bothers to understand their code and convert it into python, I'll briefly present my way
Use chrome. Identify the js file responsible for the srt by scrolling downwards.
[Attachment 85429 - Click to enlarge]
Click on it. You'll be redirected to the sources tab. Ctrl+f search txt1
[Attachment 85430 - Click to enlarge]
The code of interest should look like
Code:switch (m) { case "txt": for (var r = 0; r < t.length; r++) { var s = t[r]; try { s.text = h.cryptoService.b1(s.text) } catch (i) {} } break; case "txt1": for (var l = 0; l < t.length; l++) { s = t[l]; try { s.text = h.cryptoService.b2(s.text) } catch (d) {} } break; default: for (var a = 0; a < t.length; a++) { s = t[a]; try { s.text = h.cryptoService.b3(s.text) } catch (d) {} } } h.FomateVtt()
Code:var plaintexts = []; switch (m) { case "txt": for (var r = 0; r < t.length; r++) { var s = t[r]; try { s.text = h.cryptoService.b1(s.text) plaintexts.push(s.text) } catch (i) {} } break; case "txt1": for (var l = 0; l < t.length; l++) { s = t[l]; try { s.text = h.cryptoService.b2(s.text) plaintexts.push(s.text) } catch (d) {} } break; default: for (var a = 0; a < t.length; a++) { s = t[a]; try { s.text = h.cryptoService.b3(s.text) plaintexts.push(s.text) } catch (d) {} } } console.log(plaintexts); h.FomateVtt()
[Attachment 85431 - Click to enlarge]
Install python (including pip). Install pysrt using pip.
Code:pip install pysrt
1. main.py
2. input_decrypted.txt (in this file drop the copied object from the console decrypted)
3. input_encrypted.srt (in this file drop the encrypted content from srt url like https://sub.streamsub.top/Friendly-Rivalry.2025.Ep3.ms.srt.txt1 )
In main.py drop this script
Code:import json import pysrt INPUT_ENC = "input_encrypted.srt" INPUT_DEC = "input_decrypted.txt" OUTPUT_DEC = "output.srt" def replace_srt_dialogues(subs, text_list, output_file): if len(subs) != len(text_list): raise ValueError("Mismatch: The number of subtitles and text entries must be the same!") for i, sub in enumerate(subs): sub.text = text_list[i] subs.save(output_file, encoding='utf-8') if __name__ == '__main__': with open(INPUT_DEC, "r") as file: data_dec = json.loads(file.read().strip()) data_enc = pysrt.open(INPUT_ENC) replace_srt_dialogues(data_enc, data_dec, OUTPUT_DEC)
Code:python main.py
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
Similar Threads
-
I need help decrypting CENC
By carbonic in forum Video Streaming DownloadingReplies: 5Last Post: 1st Sep 2024, 14:02 -
Help with decrypting video
By Skuzm in forum Video Streaming DownloadingReplies: 18Last Post: 20th Jun 2024, 04:48 -
Need some help decrypting a file
By tad108 in forum Video Streaming DownloadingReplies: 4Last Post: 29th Sep 2023, 07:48 -
Stuck with decrypting
By A_n_g_e_l_a in forum Video Streaming DownloadingReplies: 14Last Post: 24th Feb 2022, 17:09 -
Need help decrypting this video
By KyoGo in forum Video Streaming DownloadingReplies: 6Last Post: 18th Jun 2021, 13:32