latest release
All checks were successful
Update channel domains / update (push) Successful in 21s

This commit is contained in:
2025-01-18 11:01:23 +01:00
parent 881a61d24a
commit 36a89c1979
32 changed files with 1578 additions and 271 deletions

View File

@@ -3,17 +3,28 @@
from core.scrapertools import *
def decode(text):
def decode(text, alt = False):
text = re.sub(r"\s+|/\*.*?\*/", "", text)
data = text.split("+(゚Д゚)[゚o゚]")[1]
chars = data.split("+(゚Д゚)[゚ε゚]+")[1:]
if alt:
data = text.split("+(゚Ɇ゚)[゚o゚]")[1]
chars = data.split("+(゚Ɇ゚)[゚ε゚]+")[1:]
char1 = ""
char2 = "(゚Ɇ゚)[゚Θ゚]"
else:
data = text.split("+(゚Д゚)[゚o゚]")[1]
chars = data.split("+(゚Д゚)[゚ε゚]+")[1:]
char1 = "c"
char2 = "(゚Д゚)['0']"
#data = text.split("+(゚Д゚)[゚o゚]")[1]
#chars = data.split("+(゚Д゚)[゚ε゚]+")[1:]
txt = ""
for char in chars:
char = char \
.replace("(o゚ー゚o)", "u") \
.replace("c", "0") \
.replace("(゚Д゚)['0']", "c") \
.replace(char1, "0") \
.replace(char2, "c") \
.replace("゚Θ゚", "1") \
.replace("!+[]", "1") \
.replace("-~", "1+") \