refactor(anime_provider): simplify URL processing in AllAnime class

This commit is contained in:
benex
2024-12-02 11:07:05 +03:00
parent 757393aa36
commit ddbb4ca451

View File

@@ -140,8 +140,7 @@ class AllAnime(AnimeProvider):
if not url:
return
if url.startswith("--"):
url = url[2:]
url = one_digit_symmetric_xor(56, url)
url = one_digit_symmetric_xor(56, url[2:])
if "tools.fast4speed.rsvp" in url:
logger.debug("Found streams from Yt")