Simple thing. I need to make a count of how many candidates in the table on this page, for example: link For example there are 110 names, but I need to get this number and I have to do it in a huge number of pages with the same structure. Here's what I've tried:
from bs4 import BeautifulSoup
import requests
import string
import re
import urllib
r = requests.get('http://www.ufjf.br/cdara/sisu-2/sisu-2017-1a-edicao/lista- de-espera-sisu-3/?id_curso=01GV&id_grupo=70')
soup = BeautifulSoup(r.text, "html.parser")
contador = 0
for node in soup.findAll(".XXX-XX<"):
contador = contador+1
print(contador)
But he is not finding these characters being that they are there, in the cpf column, for example ... How to do this ?