diff --git a/StreamingCommunity/Api/Site/animeunity/site.py b/StreamingCommunity/Api/Site/animeunity/site.py index c83238c..809b149 100644 --- a/StreamingCommunity/Api/Site/animeunity/site.py +++ b/StreamingCommunity/Api/Site/animeunity/site.py @@ -128,14 +128,22 @@ def title_search(title: str) -> int: } # Prepare JSON data to be sent in the request - json_data = { - 'title': title # Use the provided title for the search + json_data = { + 'title': title, + 'type': False, + 'year': False, + 'order': False, + 'status': False, + 'genres': False, + 'offset': 0, + 'dubbed': False, + 'season': False, } # Send a POST request to the API endpoint for live search try: response = httpx.post( - url=f'https://www.{SITE_NAME}.{domain_to_use}/livesearch', + url=f'https://www.{SITE_NAME}.{domain_to_use}/archivio/get-animes', cookies=cookies, headers=headers, json=json_data,