This commit is contained in:
Lovi 2025-01-17 18:13:00 +01:00
parent 34e7322b51
commit fd0add424d
4 changed files with 5 additions and 13 deletions

View File

@ -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/) | ✅ |

View File

@ -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:

View File

@ -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,

View File

@ -62,7 +62,7 @@
"domain": "ooo"
},
"altadefinizione": {
"domain": "prof"
"domain": "florist"
},
"guardaserie": {
"domain": "academy"