I'm trying to get the name of a bunch of people on list and see if they're elected or not. I wanted to scrap everything and then filter who I should care about on an excel. Issue is the data decide to not appear.
The multiple type of table appearing isn't a concern ( yet ) since web scraper won't even return plain text ! What am I doing wrong ?
[Les archives des élections en France] (https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023A.php)
Sitemap:
{"_id":"Election_municipales_Creuse_2020","startUrl":["https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023A.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023B.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023C.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023D.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023E.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023F.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023G.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023I.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023J.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023M.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023N.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023P.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023R.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023S.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023T.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023V.php","https://www.archives-resultats-elections.interieur.gouv.fr/resultats/municipales-2020/023/023L.php"],"selectors":[{"id":"clic résultat","parentSelectors":["_root"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":"td:nth-of-type(3) a","clickElementUniquenessType":"uniqueText","clickType":"clickMore","delay":2000,"discardInitialElements":"do-not-discard","multiple":true,"selector":"main"},{"id":"nom mairie","parentSelectors":["clic résultat"],"type":"SelectorText","selector":".pub-resultats-entete h3","multiple":false,"regex":""},{"id":"la petite liste des familles","parentSelectors":["clic résultat"],"type":"SelectorTable","multiple":true,"selector":".offset1 table:nth-of-type(1)","tableDataRowSelector":"tbody tr","tableHeaderRowSelector":"thead tr","columns":[{"extract":true,"header":"Liste conduite par","name":"Liste conduite par"},{"extract":true,"header":"Elu(es) au conseil municipal","name":"Elu(es) au conseil municipal"},{"extract":false,"header":"Elu(e) au conseil communautaire","name":"Elu(e) au conseil communautaire"}]},{"id":"1er tour","parentSelectors":["clic résultat"],"type":"SelectorTable","multiple":true,"selector":".offset1 table:nth-of-type(1)","tableDataRowSelector":"tbody tr","tableHeaderRowSelector":"thead tr","columns":[{"extract":true,"header":"Candidats","name":"Candidats"},{"extract":false,"header":"Voix","name":"Voix"},{"extract":false,"header":"% Inscrits","name":"Inscrits"},{"extract":false,"header":"% Exprimés","name":"Exprimés"},{"extract":true,"header":"Elu(e)","name":"Elu(e)"}]}]}