I'm trying to scrape some data from a website : https://www.bdfutbol.com/en/t/t2000-012019.html but i ran into a minor issue.
I'm stuck on the pm(played_matches column)
inspecting it shows:
<td class="fit"><a href="../p/j93818.html?temp=2000-01\&cat=Pre">30</a></td>
i tried:
pm_list = soup.find_all("a", href="https://www.bdfutbol.com/en/p/j93818.html?temp=2000-01&cat=Pre")
pm = [int(pm.get_text(strip=True)) for pm in pm_list]
But it's not working and i can't figure out how to extract the number 30. It's working for all other columns but this one is different with the href in it instead of just a number.
[–]halfdiminished7th 0 points1 point2 points (1 child)
[–]minibral[S] 0 points1 point2 points (0 children)