#!/bin/bash

#value=`curl http://www.pollens.fr/docs/vigilance.html|grep valable|awk -F- '{print $2}' |awk -F"<" '{print $1}'| sed 's/ /_/g'`

mkdir /tmp/vigilance; 
cd /tmp/vigilance/; 
rm *;  
wget -nd -r -P .  http://www.pollens.fr/docs/vigilance.html; 
wget "http://internationalragweedsociety.org/vigilance/d 56.gif"; 
wget "http://internationalragweedsociety.org/vigilance/d 35.gif"; 
wget "http://internationalragweedsociety.org/vigilance/d 44.gif"; 
lynx --dump vigilance.html  | mutt -s "Alerte pollens" -a Departements_de_France-simple.png "d 56.gif" "d 35.gif" "d 44.gif" -- jerome.delacotte@gmail.com
