Web scraping en Python
Thomas Laetsch
Data Scientist, NYU
xpath = '/html/body/div[2]'
XPath simple:
/ avanza una generación.
xpath = '/html/body/div[2]'
table en todo el HTML:xpath = '//table'
table que son descendientes del 2.º hijo div de body:xpath = '/html/body/div[2]//table`
Web scraping en Python