mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +00:00
Fix AU
This commit is contained in:
parent
34e7322b51
commit
fd0add424d
@ -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/) | ✅ |
|
||||
|
@ -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:
|
||||
|
@ -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,
|
||||
|
@ -62,7 +62,7 @@
|
||||
"domain": "ooo"
|
||||
},
|
||||
"altadefinizione": {
|
||||
"domain": "prof"
|
||||
"domain": "florist"
|
||||
},
|
||||
"guardaserie": {
|
||||
"domain": "academy"
|
||||
|
Loading…
x
Reference in New Issue
Block a user