Too Long; Didn't Read
In the context of web scraping, <a href="https://blog.scrapinghub.com/2016/10/27/an-introduction-to-xpath-with-examples/" target="_blank">XPath</a> is a nice tool to have in your belt, as it allows you to write specifications of document locations more flexibly than CSS selectors. In case you’re looking for a tutorial, <a href="http://www.zvon.org/comp/r/tut-XPath_1.html" target="_blank">here is a XPath tutorial with nice examples</a>.