Solved

automatic access to nytimes pages

Posted on 2001-06-16
2
205 Views
Last Modified: 2010-03-05
how?
I keep getting thrown to the login page...
0
Comment
Question by:tilih
2 Comments
 
LVL 8

Accepted Solution

by:
shlomoy earned 300 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.
0
 

Author Comment

by:tilih
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.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…

696 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