fix: use anime-sama.tv directly to avoid redirect issues
This commit is contained in:
@@ -682,8 +682,9 @@ class AnimeSamaDownloader(BaseAnimeSite):
|
||||
start = time.time()
|
||||
logger.debug(f"Searching for '{query}' ({lang})...")
|
||||
|
||||
# Use the current domain from anime-sama.pw
|
||||
current_domain = await self.get_current_domain()
|
||||
# Use anime-sama.tv directly (anime-sama.si has redirect issues)
|
||||
current_domain = "anime-sama.tv"
|
||||
|
||||
|
||||
# Use the official search API endpoint
|
||||
search_api_url = f"https://{current_domain}/template-php/defaut/fetch.php"
|
||||
|
||||
Reference in New Issue
Block a user