2

Are there any python libraries out there that work like Symfony's DomCrawler? I would like to use CSS selectors in order to extract data from some HTML.

The functionality I'm most interested in would be something similar to this snippet of PHP:

$crawler = new Crawler($html);
$crawler = $crawler->filter('body > p');

If there is any default functionality in python that allows this to be accomplished easily, that would work as well.

RattleyCooper
  • 4,997
  • 5
  • 27
  • 43

0 Answers0