mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00
Change search AU
This commit is contained in:
parent
71d6a95aef
commit
4bbe9f2616
@ -128,14 +128,22 @@ 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 # Use the provided title for the search
|
'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}/livesearch',
|
url=f'https://www.{SITE_NAME}.{domain_to_use}/archivio/get-animes',
|
||||||
cookies=cookies,
|
cookies=cookies,
|
||||||
headers=headers,
|
headers=headers,
|
||||||
json=json_data,
|
json=json_data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user