XPath, scraping the web & Chrome DevTools

by William Dahlstrom

XPath is an incredibly powerful language for finding, navigating and selecting data in XML style documents. With HTML being a derivative of XML, it means that most of the content on the web is selectable, and in turn, scrapeable with the help of XPath. That's pretty damn cool. Since XPath is just a way of selecting parts of a document (or in our case, the DOM) it needs to be combined with some kind of tool in order to leverage...