Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Looks great, but... Not for NY Times!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Looks great, but... Not for NY Times!
Authored by: tochoa on Dec 27, '02 04:22:31PM

Hi,

I'm using Curl to do essentially what you are doing - except I'm downloading crossword puzzles, not articles. I've written a shell script that addresses the sites I like that _don't_ use cookies - but the one that does, The NY Times, is being a challenge.
I went through the curl docs and man pages and came up with the same idea you had, and reference a copy of my cookies.txt in ~/Library/Cookies. Then I used the -b option like this:

curl -b ~/Library/Cookies/cookies.txt -o $Month$curdate.puz http://query.nytimes.com/premium/xword/$Month$curdate.puz

(ignore the variables). This is not working, for some reason. I tried it using wget and got a little farther, but unfortunately wget does not handle https requests (which this link ends up at). Any suggestions? TIA!

Tony O



[ Reply to This | # ]