I want to do some screen-scraping (from Netflix) in Haskell but the site requires a cookie login state, so most of the examples of this use browser automation to ask a logged-in browser to do the actual URL fetch, and then scrape from that text.
A good example of what I want to (in Ruby) is at: https://gist.github.com/1425290
Is there any simple way to do the equivalent from Haskell?
I know off the top of my head that the HTTP
package's Network.Browser
supports cookies, as does curl
. Presumably http-conduit
's Network.HTTP.Conduit.Browser
is so-named because it, too, supports cookies, though I'm not 100% confident of that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With