954,525 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help with script, please

I have an electronic subscription to a newspaper and I generally download and print the puzzles for doing them later. Due to health issues, I'm behind about 6 months, but I'd like to catch up. I'd like a script to automate the download and save it to my PC. I'm a former (retired!) IT person but so out of date with technology, I'm not sure I can do this anymore. The date must go in the link in two places. Since I'm about 6 months behind, that's alot of manual downloading and saving. There is no need for user ID or password. Would this be a huge thing?

The link looks something like this: (I can't get this to show quite right here!)
...crosswordPDF?pm=pdf&puzzle=101212&data=%3CNAME%3E101212%3C%2FNAME%3E%3CTYPE%3E1%3C%2FTYPE%3E&cd=253

I believe this is legal as I pay for the subscription and I can access them manually. Could someone help? I'd appreciate it!

irenejd
Newbie Poster
2 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

Welcome to Daniweb.

First, please go read [thread=78223]this posting about how to use Daniweb[/thread]

Then, let me point out the 'thread is solved' link near the bottom of the page. You, the OP (Original Poster) are the only one who has that link. When the thread is as done as possible, please do click that: It helps keep Daniweb organized and useful.

Now to the meat of your problem. The simple answer is to just use wget -i input-file where you have spent a little time creating input-file so it contains each of the needed URLs. Here's an online man page for wget . Any decent editor will make it reasonably easy to do he work, if only by copying the first line repeatedly, then going in and changing the two date fields.

griswolf
Veteran Poster
1,165 posts since Apr 2010
Reputation Points: 344
Solved Threads: 256
 

Thank you for the welcome. And thanks even more for the help and the link. I'll give this a shot. Guess I'll have to go back to school, huh?

irenejd
Newbie Poster
2 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: