I’m making a python web scrapper for MyAnimeList
So basically if you go onto the website, and if you hover onto a title of an anime. It’ll pop up a hover window which gives out a brief details of this anime.
I’m trying to use request
and beautifulsoup4
module to get the html of the hoverwindow. Specifically, I want my program to grab the Genres
for each anime on that page and possibly put them into a list.
How do I do that?
The html for a genre will go like this(Every genre is the subclass of detail
)
<span class="dark_text">Genres:</span>
The genre for the anime
When I use:
soup.find_all("span",class_="dark_text")
It returns nothing.