Check out pup for parsing HTML. <a href="https:&#x2F;&#x2F;github.com&#x2F;ericchiang&#x2F;pup" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ericchiang&#x2F;pup</a><p>pup uses CSS selectors to select elements from HTML documents. Used in conjunction with curl, it gives you a very simple and low friction way to scrape data in scripts.