Tes update

This commit is contained in:
yasir 2023-01-08 20:33:38 +07:00
parent 2cd72cce50
commit 17fb45e24f

View file

@ -47,7 +47,7 @@ async def zonafilm(_, msg):
except IndexError: except IndexError:
title = "" title = ""
try: try:
html = await http.get(f"http://173.212.199.27/?s={title}", headers=headers) html = await http.get(f"https://zonafilm.icu/?s={title}", headers=headers)
text = BeautifulSoup(html.text, "lxml") text = BeautifulSoup(html.text, "lxml")
entry = text.find_all(class_="entry-header") entry = text.find_all(class_="entry-header")
if "Nothing Found" in entry[0].text: if "Nothing Found" in entry[0].text: