diff --git a/README.md b/README.md index b0e99af..8cbfa2c 100644 --- a/README.md +++ b/README.md @@ -477,7 +477,7 @@ The `run-container` command mounts also the `config.json` file, so any change to | Website | Status | |:-------------------|:------:| | [1337xx](https://1337xx.to/) | ✅ | -| [Altadefinizione](https://altadefinizione.prof/) | ✅ | +| [Altadefinizione](https://altadefinizione.florist/) | ✅ | | [AnimeUnity](https://animeunity.so/) | ✅ | | [Ilcorsaronero](https://ilcorsaronero.link/) | ✅ | | [CB01New](https://cb01new.lol/) | ✅ | diff --git a/StreamingCommunity/Api/Site/animeunity/__init__.py b/StreamingCommunity/Api/Site/animeunity/__init__.py index c210f3c..613c9aa 100644 --- a/StreamingCommunity/Api/Site/animeunity/__init__.py +++ b/StreamingCommunity/Api/Site/animeunity/__init__.py @@ -27,7 +27,7 @@ def search(string_to_search: str = None, get_onylDatabase: bool = False): string_to_search = msg.ask(f"\n[purple]Insert word to search in [green]{SITE_NAME}").strip() # Search on database - len_database = title_search(quote_plus(string_to_search)) + len_database = title_search(string_to_search) # Return list of elements if get_onylDatabase: diff --git a/StreamingCommunity/Api/Site/animeunity/site.py b/StreamingCommunity/Api/Site/animeunity/site.py index 809b149..daaa571 100644 --- a/StreamingCommunity/Api/Site/animeunity/site.py +++ b/StreamingCommunity/Api/Site/animeunity/site.py @@ -129,21 +129,13 @@ def title_search(title: str) -> int: # Prepare JSON data to be sent in the request json_data = { - 'title': title, - 'type': False, - 'year': False, - 'order': False, - 'status': False, - 'genres': False, - 'offset': 0, - 'dubbed': False, - 'season': False, + 'title': title } # Send a POST request to the API endpoint for live search try: response = httpx.post( - url=f'https://www.{SITE_NAME}.{domain_to_use}/archivio/get-animes', + url=f'https://www.{SITE_NAME}.{domain_to_use}/livesearch', cookies=cookies, headers=headers, json=json_data, diff --git a/config.json b/config.json index 22dab19..f05892a 100644 --- a/config.json +++ b/config.json @@ -62,7 +62,7 @@ "domain": "ooo" }, "altadefinizione": { - "domain": "prof" + "domain": "florist" }, "guardaserie": { "domain": "academy"