mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 11:04:51 +00:00
Tes
This commit is contained in:
parent
c2fe066efd
commit
3fa70ba8b5
1 changed files with 3 additions and 3 deletions
|
|
@ -391,10 +391,10 @@ async def getDataGomov(msg, kueri, CurrentPage, user):
|
||||||
if entry[0].text.strip() == "Nothing Found":
|
if entry[0].text.strip() == "Nothing Found":
|
||||||
if not kueri:
|
if not kueri:
|
||||||
await editPesan(msg, "Sorry, i could not find anything.")
|
await editPesan(msg, "Sorry, i could not find anything.")
|
||||||
return None, None
|
return None, 0, None
|
||||||
else:
|
else:
|
||||||
await editPesan(msg, f"Sorry, i could not find query: {kueri}")
|
await editPesan(msg, f"Sorry, i could not find query: {kueri}")
|
||||||
return None, None
|
return None, 0, None
|
||||||
data = []
|
data = []
|
||||||
for i in entry:
|
for i in entry:
|
||||||
genre = i.find(class_="gmr-movie-on").text
|
genre = i.find(class_="gmr-movie-on").text
|
||||||
|
|
@ -420,7 +420,7 @@ async def getDataGomov(msg, kueri, CurrentPage, user):
|
||||||
return gomovResult, PageLen, extractbtn
|
return gomovResult, PageLen, extractbtn
|
||||||
except (IndexError, KeyError):
|
except (IndexError, KeyError):
|
||||||
await editPesan(msg, "Sorry could not find any matching results!")
|
await editPesan(msg, "Sorry could not find any matching results!")
|
||||||
return None, None
|
return None, 0, None
|
||||||
|
|
||||||
# Terbit21 CMD
|
# Terbit21 CMD
|
||||||
@app.on_message(filters.command(['terbit21'], COMMAND_HANDLER))
|
@app.on_message(filters.command(['terbit21'], COMMAND_HANDLER))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue