How do I programmatically use a web site that requires logging in?
• Log into the site using NS and quit NS. The relevant cookie should now be in the cookies.txt file. See this faq for details. • If necessary, copy cookies.txt to your development machine. • Use HTTP::Cookies and LWP::Simple to develop perl scripts which can download from the site using cookies.txt as your cookie-jar. You can use this methodology to develop “screen scrapers” for other sites or to develop automatic test suites for your own sites.
Related Questions
- ISTRIVE HELP PAGE Q. If Ive already completed my iStrive Succeed health risk assessment by logging in at the HAP Web site, do I need to log in here and retake it?
- Our web site requires frequent updates to web pages. Can Ekko Express run as a service in the background and perform the compression process on a schedule?
- How do I programmatically use a web site that requires logging in?