mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix if None result
This commit is contained in:
parent
974bc58f0b
commit
5c26d63ba7
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ async def getDataSavefilm21(msg, kueri, CurrentPage):
|
|||
data = await http.get(f'https://185.99.135.215/?s={kueri}', headers=headers)
|
||||
text = BeautifulSoup(data.text, "lxml")
|
||||
entry = text.find_all(class_="entry-header")
|
||||
if "Nothing Found" in entry[0].text:
|
||||
if "Tidak Ditemukan" in entry[0].text:
|
||||
if not kueri:
|
||||
await msg.edit("404 Not FOUND!")
|
||||
return None, None
|
||||
|
|
|
|||
Loading…
Reference in a new issue