8

Is there a good library/package to do web scraping using Scheme (preferably Racket)?

e.g. a Scheme equivalent of mechanize?

abeln
  • 3,749
  • 2
  • 22
  • 31

1 Answers1

8

I've used a combination of the Racket net/url library, the html-parsing package, and SXML (especially sxpath, for XPath queries). Actually, I wrote some wrappers around net/url that make it slightly easier to use, IMO.

When I've needed to handle cookies, I've called out to the curl command instead of using net/url.

Ryan Culpepper
  • 10,495
  • 4
  • 31
  • 30