mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-06 20:04:51 +00:00
Hmm
This commit is contained in:
parent
255784f2b1
commit
d7cac90473
1 changed files with 2 additions and 1 deletions
|
|
@ -329,7 +329,8 @@ 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" if genre != "" else ""
|
genre = i.find(class_="gmr-movie-on").text
|
||||||
|
genre = f"{genre}\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