Once you've used the script you'll be able to refer to them while offline and organise your messages by date, sender, title and shoe size and never again worry again that Robot will lose your messages!
While I've tried to make it as easy to use as possible, this does require some installation and setting up of Perl and some modules. It's not really easy, but I've tried to explain how to use it as best I can and a relatively competent computer user should be able to figure out any problems. If you get it right first time it should take you no longer than 10 minutes to set up, and a second or two per message to download them.
The script uses the modules LWP and Mechanize to log in to your instructables account and then fetch web pages and then Perl regular expressions to separate out the useful content. Even if you don't want to download your entire inbox it might prove useful to see how to use Perl to scrape web pages for information.
Remove these ads by
Signing UpStep 1: Installing Perl and appropriate modules
I recommend ActivePerl for Windows. I've never used Perl on a Mac or Linux so I can't help you there. If you have success running this script on either, please let me know so I can update this with how you did it.
So you will need:
ActivePerl - an easy to install version of Perl
LWP - a Perl module used for fetching web pages
Mechanize - a Perl module that uses LWP and expands on it
Instructions for installing Perl modules are available here on cpan.org. Some users have had real problems with installing these and getting mechanize working, dependencies etc. All I can say is cross your fingers and toes, I had no problems so hopefully you wont either.






















![FU76CUBGE38R6HX.LARGE[1].jpg](/files/deriv/F8N/ZBLE/GE39IIX0/F8NZBLEGE39IIX0.LARGE.jpg)
![perl[1].jpeg](/files/deriv/FNZ/1OJZ/GE38TB04/FNZ1OJZGE38TB04.LARGE.jpg)

















Visit Our Store »
Go Pro Today »




Half the battle is first understanding the web page, Instructables is more complicated than a lot of sites as it uses so my javascript.
So I'd suggest you find your favourite site, use LWP to grab the html then regular expressions to parse out an interesting detail. Then progress to forms or grabbing and processing/saving pictures.
Do you recommend any source to learn Perl?
J
Thanks
Steve