Solved

automatic access to nytimes pages

Posted on 2001-06-16
2
209 Views
Last Modified: 2010-03-05
how?
I keep getting thrown to the login page...
0
Comment
Question by:tilih
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

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

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…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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

718 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