I want to pull all 81 elements, but can only do one at a time this way. The page is dynamic so I'll have more than 81 elements going forward. The page also has several sortableTable-numberattributes so I'm trying to avoid using it as beautifulsoup seems to get confused.
rreads1 = soup.select('tr.sortableTable-row:nth-child(2) > td:nth-child(3) > span:nth-child(2)')
rreads = rreads1[0].get_text()
reads.append(rreads)
Aucun commentaire:
Enregistrer un commentaire