Script to follow links and save resulting HTML page

I am looking for some kind of script that will follow links in an email message, and then save the resulting HTML page of each followed link.  There are approximately 30 links per email message, so I need to save 30 HTML pages for each email message.

Anyone have an idea where I might find such a script?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I'm not sure what you are trying to do but I see roadblocks.  If you are going to try and run the script from an email you will have a very high failure rate, because most email clients are not going to run it.

If you are planning on doing it yourself the you are probably best to bring the email into a browser onto a page with the script using something like

If you are sending out the email with the links, then lots of luck, because you cannot depend on a script in an email.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Are you receiving an email that has 30 links and you want a way to download the linked pages?
DanielAttardAuthor Commented:
Yes, exactly.  That is what I would like to do.
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I used to use this a long long time ago.... I was surprised to still see it around  You might have to upload the html portion of the email to your server or just locally make an  html file of the email and send httrack to that file and tell it to download only the links on that page otherwise, it will download links on the pages you are linking to.
DanielAttardAuthor Commented:
Thanks for the comments.  I agree that the best thing to do is to copy the links into a page, and then run the script on the page, not on the email address.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.