ruipgil / scraperjs

A complete and versatile web scraper.
MIT License
3.71k stars 188 forks source link

How static scraper handles cookies? #16

Closed pro100sanya closed 10 years ago

pro100sanya commented 10 years ago

Hi, pls clarify does the static scraper handle cookies between requests? How to get access to them?

ruipgil commented 10 years ago

You can pass cookies with a cookie jar. Please refer to request.

pro100sanya commented 10 years ago

Thanks, but does static scraper manage them between requests? Or that should be done manually. I mean: can i login with help of static scraper and retain the session without additional actions with cookies?

ruipgil commented 10 years ago

Sorry, that's out of the scope of this project. You've got to do it manually.