automated Pipeline for parsing profiles of politically exposed persons (PEP) into Wikidata
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
758 B

  1. # Settings for the PEP crawler per country to crawl
  2. # Follow the syntax and dont use tbody as it gets added by the browser (when researching xpath through inspector)
  3. # xpath syntax: https://www.w3schools.com/xml/xpath_syntax.asp
  4. nicaragua:
  5. memberList:
  6. link: 'http://legislacion.asamblea.gob.ni/Tablas%20Generales.nsf/Main.xsp'
  7. parent: 'html//body//form//table//tr//td//table'
  8. child-name: '//td//a/text()'
  9. child-link: '//td//a/@href'
  10. member:
  11. info-1:
  12. parent: html/body/form/table
  13. child-name: html/body/form/table/tr.0/td.1/span
  14. child-image: html/body/form/table/tr.1/td.0/span/img
  15. child-role: html/body/form/table/tr.1/td.2/span + label.1
  16. child-politicalParty: html/body/form/table/tr.4/td/span