BeautifulSoup how to

Python beautiful soup is really nice to do web scraping, I find it easy and simple enough.
Also the Pandas library is awesome! Python shows all its powerfull and easy to use when it comes
to tasks like web scraping.

After making sure the script works I added to my crontab like:

#get forecast for genova and rapallo for the next 3 days to
0 */6 * * * /var/www/wordpress/forecast/ genova
0 */6 * * * /var/www/wordpress/forecast/ rapallo

There is a great tutorial here: web-scraping-tutorial-python

This is the script I wrote to get last 3 days forecast for the Liguria Region using this site:

The code result is this URL:

Here is the code: