While this library seems very appealing, the fact that Scraper.scrape makes blocking IO calls is a problem for those of us who would like to use it with an asynchronous framework such as Twisted.
It would be nice to have a Scraper function that takes a string of HTML and parses it, thus allowing the user to avoid blocking calls.
While this library seems very appealing, the fact that
Scraper.scrape
makes blocking IO calls is a problem for those of us who would like to use it with an asynchronous framework such as Twisted.It would be nice to have a
Scraper
function that takes a string of HTML and parses it, thus allowing the user to avoid blocking calls.