fix: use anime-sama.tv directly to avoid redirect issues

This commit is contained in:
root
2026-02-24 21:36:43 +00:00
parent 90dc884ef9
commit 414a89b7a5
+3 -2
View File
@@ -682,8 +682,9 @@ class AnimeSamaDownloader(BaseAnimeSite):
start = time.time() start = time.time()
logger.debug(f"Searching for '{query}' ({lang})...") logger.debug(f"Searching for '{query}' ({lang})...")
# Use the current domain from anime-sama.pw # Use anime-sama.tv directly (anime-sama.si has redirect issues)
current_domain = await self.get_current_domain() current_domain = "anime-sama.tv"
# Use the official search API endpoint # Use the official search API endpoint
search_api_url = f"https://{current_domain}/template-php/defaut/fetch.php" search_api_url = f"https://{current_domain}/template-php/defaut/fetch.php"