mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 19:45:24 +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 |
|
| Website | Status |
|
||||||
|:-------------------|:------:|
|
|:-------------------|:------:|
|
||||||
| [1337xx](https://1337xx.to/) | ✅ |
|
| [1337xx](https://1337xx.to/) | ✅ |
|
||||||
| [Altadefinizione](https://altadefinizione.prof/) | ✅ |
|
| [Altadefinizione](https://altadefinizione.florist/) | ✅ |
|
||||||
| [AnimeUnity](https://animeunity.so/) | ✅ |
|
| [AnimeUnity](https://animeunity.so/) | ✅ |
|
||||||
| [Ilcorsaronero](https://ilcorsaronero.link/) | ✅ |
|
| [Ilcorsaronero](https://ilcorsaronero.link/) | ✅ |
|
||||||
| [CB01New](https://cb01new.lol/) | ✅ |
|
| [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()
|
string_to_search = msg.ask(f"\n[purple]Insert word to search in [green]{SITE_NAME}").strip()
|
||||||
|
|
||||||
# Search on database
|
# Search on database
|
||||||
len_database = title_search(quote_plus(string_to_search))
|
len_database = title_search(string_to_search)
|
||||||
|
|
||||||
# Return list of elements
|
# Return list of elements
|
||||||
if get_onylDatabase:
|
if get_onylDatabase:
|
||||||
|
@ -129,21 +129,13 @@ def title_search(title: str) -> int:
|
|||||||
|
|
||||||
# Prepare JSON data to be sent in the request
|
# Prepare JSON data to be sent in the request
|
||||||
json_data = {
|
json_data = {
|
||||||
'title': title,
|
'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
|
# Send a POST request to the API endpoint for live search
|
||||||
try:
|
try:
|
||||||
response = httpx.post(
|
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,
|
cookies=cookies,
|
||||||
headers=headers,
|
headers=headers,
|
||||||
json=json_data,
|
json=json_data,
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
"domain": "ooo"
|
"domain": "ooo"
|
||||||
},
|
},
|
||||||
"altadefinizione": {
|
"altadefinizione": {
|
||||||
"domain": "prof"
|
"domain": "florist"
|
||||||
},
|
},
|
||||||
"guardaserie": {
|
"guardaserie": {
|
||||||
"domain": "academy"
|
"domain": "academy"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user