I need a small script to automate the download of the newspaper.
What it should do:
- connect to [url removed, login to view]
- insert credentials and save the cookie
- donwload the pdf file from [url removed, login to view] (20120714 should be calculated using a today date function)
- send the pdf by email
- delete the file
The script will be used with crontab.
The website is in Italian but you can easily find in the code the variable names.