mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-04 11:24:50 +00:00
Fix tulisan
This commit is contained in:
parent
ebec29e7c6
commit
edf43cdbe3
1 changed files with 2 additions and 2 deletions
|
|
@ -329,14 +329,14 @@ async def gomov_scrap(_, message):
|
||||||
entry = soup.find_all(class_="entry-header")
|
entry = soup.find_all(class_="entry-header")
|
||||||
DATA = []
|
DATA = []
|
||||||
for i in entry:
|
for i in entry:
|
||||||
genre = i.find(class_="gmr-movie-on").text
|
genre = f"{i.find(class_='gmr-movie-on').text}\n"
|
||||||
judul = i.find(class_="entry-title").find("a").text
|
judul = i.find(class_="entry-title").find("a").text
|
||||||
link = i.find(class_="entry-title").find("a").get("href")
|
link = i.find(class_="entry-title").find("a").get("href")
|
||||||
DATA.append({"judul": judul, "link": link, "genre": genre})
|
DATA.append({"judul": judul, "link": link, "genre": genre})
|
||||||
if not DATA:
|
if not DATA:
|
||||||
return await msg.edit("Oops, data film tidak ditemukan di GoMov")
|
return await msg.edit("Oops, data film tidak ditemukan di GoMov")
|
||||||
res = "".join(
|
res = "".join(
|
||||||
f"<b>{num}. {i['judul']}</b>\n<code>{i['genre']}</code>\n{i['link']}\n\n"
|
f"<b>{num}. {i['judul']}</b>\n<code>{i['genre']}</code>{i['link']}\n\n"
|
||||||
for num, i in enumerate(DATA, start=1)
|
for num, i in enumerate(DATA, start=1)
|
||||||
)
|
)
|
||||||
await msg.edit(
|
await msg.edit(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue