mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 20:34:52 +00:00
FIx
This commit is contained in:
parent
edf43cdbe3
commit
255784f2b1
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ 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 = f"{i.find(class_='gmr-movie-on').text}\n"
|
genre = f"{i.find(class_='gmr-movie-on').text}\n" if genre != "" else ""
|
||||||
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})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue