mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +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
|
||||
json_data = {
|
||||
'title': title # Use the provided title for the search
|
||||
json_data = {
|
||||
'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
|
||||
try:
|
||||
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,
|
||||
headers=headers,
|
||||
json=json_data,
|
||||
|
Loading…
x
Reference in New Issue
Block a user