mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-08 21:04:50 +00:00
Update web_scraper.py
This commit is contained in:
parent
50d211bdc8
commit
d38712de06
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ async def getDataMelong(msg, kueri, CurrentPage, user, strings):
|
||||||
# GoMov GetData
|
# GoMov GetData
|
||||||
async def getDataGomov(msg, kueri, CurrentPage, user, strings):
|
async def getDataGomov(msg, kueri, CurrentPage, user, strings):
|
||||||
if not SCRAP_DICT.get(msg.id):
|
if not SCRAP_DICT.get(msg.id):
|
||||||
gomovv = await http.get(f"https://gomov.cfd/?s={kueri}", headers=headers, follow_redirects=True)
|
gomovv = await http.get(f"https://gomov.bio/?s={kueri}", headers=headers, follow_redirects=True)
|
||||||
text = BeautifulSoup(gomovv, "lxml")
|
text = BeautifulSoup(gomovv, "lxml")
|
||||||
entry = text.find_all(class_="entry-header")
|
entry = text.find_all(class_="entry-header")
|
||||||
if entry[0].text.strip() == "Nothing Found":
|
if entry[0].text.strip() == "Nothing Found":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue