From efb504e1ad2ea0c8e39124f61e9843c374c6f786 Mon Sep 17 00:00:00 2001 From: UrloMythus Date: Tue, 4 Feb 2025 12:13:57 +0100 Subject: [PATCH] Updated URL for guardaserie --- Src/API/guardaserie.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/API/guardaserie.py b/Src/API/guardaserie.py index 91f7586..565c8bb 100644 --- a/Src/API/guardaserie.py +++ b/Src/API/guardaserie.py @@ -68,7 +68,7 @@ async def get_supervideo_link(link,client): async def search(clean_id,client): try: headers = random_headers.generate() - response = await client.get(ForwardProxy + f'https://guardaserie.{GS_DOMAIN}/?story={clean_id}&do=search&subaction=search', allow_redirects=True, impersonate = "chrome124", headers = headers, proxies = proxies) + response = await client.get(ForwardProxy + f'https://guardaserietv.{GS_DOMAIN}/?story={clean_id}&do=search&subaction=search', allow_redirects=True, impersonate = "chrome124", headers = headers, proxies = proxies) if response.status_code != 200: print(f"Guardaserie Failed to fetch search results: {response.status_code}") soup = BeautifulSoup(response.text,'lxml',parse_only=SoupStrainer('div',class_="mlnh-2")) @@ -120,7 +120,7 @@ async def test_script(): from curl_cffi.requests import AsyncSession async with AsyncSession() as client: # Replace with actual id, for example 'anime_id:episode' format - test_id = "tt16288804:1:1" # This is an example ID format + test_id = "tt1190634:1:1" # This is an example ID format results = await guardaserie(test_id, client) print(results)