mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-08 12:54:51 +00:00
Update web_scraper.py
This commit is contained in:
parent
fda13b3a91
commit
e0e75d2b56
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ async def getDataSavefilm21(msg, kueri, CurrentPage):
|
||||||
data = await http.get(f'https://185.99.135.215/?s={kueri}', headers=headers)
|
data = await http.get(f'https://185.99.135.215/?s={kueri}', headers=headers)
|
||||||
text = BeautifulSoup(data.text, "lxml")
|
text = BeautifulSoup(data.text, "lxml")
|
||||||
entry = text.find_all(class_="entry-header")
|
entry = text.find_all(class_="entry-header")
|
||||||
if "Nothing Found" in entry[0].text:
|
if "Tidak Ditemukan" in entry[0].text:
|
||||||
if not kueri:
|
if not kueri:
|
||||||
return await msg.edit("404 Not FOUND!")
|
return await msg.edit("404 Not FOUND!")
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue