automatic access to nytimes pages

Posted on 2001-06-16
Medium Priority
Last Modified: 2010-03-05
I keep getting thrown to the login page...
Question by:tilih

Accepted Solution

shlomoy earned 1200 total points
ID: 6199307

use lynx.

lynx -preparsed -source -crawl -dump -accept_all_cookies 'http://www.nytimes.com/auth/chk_login?is_continue=true&URI=http://www.nytimes.com/2001/06/05/business/05GAS.html&OQ=&USERID=YOURUSERNAME&PASSWORD=YOURPASSWPRD&SAVEOPTION=YES'

change YOURUSERNAME with  your username
change YOURPASSWORD with your password.

Couldn't do it in Perl either.

Author Comment

ID: 6199346
I suppose you are taking advantage of the cookie management of lynx.

Thank you.

It works -= though - I'd prefer a perl solution.

If anyone has one - I'll open a new Q and guve more points.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question