From f4b4fce374cf8f03ebd5a86239390d34627e03b6 Mon Sep 17 00:00:00 2001 From: AbdullahM0hamed <25087116+AbdullahM0hamed@users.noreply.github.com> Date: Sun, 17 Jan 2021 16:11:02 +0000 Subject: [PATCH] revert key --- anime_downloader/sites/twistmoe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anime_downloader/sites/twistmoe.py b/anime_downloader/sites/twistmoe.py index 24fbdef..e95bab7 100644 --- a/anime_downloader/sites/twistmoe.py +++ b/anime_downloader/sites/twistmoe.py @@ -18,7 +18,7 @@ with warnings.catch_warnings(): from fuzzywuzzy import process BLOCK_SIZE = 16 -KEY = b"" +KEY = b"LXgIVP&PorO68Rq7dTx8N^lP!Fa5sGJ^*XK" class TwistMoeEpisode(AnimeEpisode, sitename='twist.moe'): @@ -95,6 +95,7 @@ def unpad(data): def bytes_to_key(data, salt, output=48): # extended from https://gist.github.com/gsakkis/4546068 assert len(salt) == 8, len(salt) + data = b"267041df55ca2b36f2e322d05ee2c9cf" data += salt key = md5(data).digest() final_key = key