EleccCAPdas
Never
#observar el número entre paréntesis, es el código numérico de cada escuela esc = driver.find_element(By.CSS_SELECTOR, "#comboEstablecimiento > option:nth-child(30)").click() #el mismo debe coincidir en cada parte donde figura un elemento numérico part30=[] votos30 = [] porcent30 = [] for x in soup2.findAll('tbody', attrs={'id':"tbbody"}): partidos = x.findAll('td', attrs={'class': "td tdPersonalizado LISTA"}) for p in partidos: part30.append(p.text) vot = x.findAll('td', attrs={'class': "td tdPersonalizado VOTOS"}) for voto in vot: votos30.append(voto.text) perc = x.findAll('td', attrs={'class': "td tdPersonalizado PORCENTAJE"}) for per in perc: porcent30.append(per.text) df30 = pd.DataFrame({'Partidos': part30, 'Votos': votos30, 'Porcentaje':porcent30}) df30['Partidos'] = df30['Partidos'].str.strip() df30['Partidos'] = df30['Partidos'].str.strip() df30['Partidos'] = df30['Partidos'].str.strip() df30['Partidos'] = df30['Partidos'].str.strip() df30['Partidos'] = df30['Partidos'].str.replace(" ", " ") df30['Votos'] = df30['Votos'].str.strip() df30['Porcentaje'] = df30['Porcentaje'].str.strip() df30.to_excel(writer, sheet_name='ESC. N 717', index=False) #OBSERVAR QUE VA EL NOMBRE DEL ESTABLECIMIENTO
Raw Text
-
🔥😈NEW UPDATED CP FOLDERS😈🔥//02/05/24
1 hour ago
-
Little boys tricked to fuck
1 hour ago
-
inc3st with kids Mega Folders
1 hour ago
-
C..P V.I.D..E.O.S
1 hour ago
-
P4CK M3G4 FIL3S TIER
1 hour ago
-
C3**_**P.E .97.v.ids
1 hour ago
-
Untitled
2 hours ago
-
Rap3
2 hours ago
-
CPLOLI Mega Folders 80gb
2 hours ago
-
T.e.i.r 5 i.n.v.i.t.e link t..3.3.n
2 hours ago