Web Scraping în Python
Thomas Laetsch
Data Scientist, NYU
xpath = '/html/body/div[2]'
XPath simplu:
/ avansează cu o generație.
xpath = '/html/body/div[2]'
table din întregul cod HTML:xpath = '//table'
table descendente ale celui de-al 2-lea copil div al elementului body:xpath = '/html/body/div[2]//table`
Web Scraping în Python