I'm trying to create a crawler that scans the website https://www.superherodb.com/ and fetches the information on all the superheroes (seen on:https://www.superherodb.com/characters) from their individual pages. I want to fetch all the information on the hero: the stats, powers, equipment, origin, connections, etc. But I am having trouble accessing their stats from the hero's page.
For example, this page: https://www.superherodb.com/001/10-39302/
For the Power Stats section in the hero's page I tried:
bs_test.find_all("div", {"class": "stat-value"})
and:
bs_test.select(".stat-value")
But the output always outputs 0 as the value:
[<div class="stat-value">0</div>,
<div class="stat-value">0</div>,
<div class="stat-value">0</div>,
<div class="stat-value">0</div>,
<div class="stat-value">0</div>,
<div class="stat-value">0</div>,
<div class="stat-value">0</div>]
What am I missing here? Please help me.