[root@localhost tmp]# more wget.sh
#!/bin/bash
download_url=`python /tmp/geturl.py`
echo $download_url
download_date=`date "+%Y%m%d%H%M%S"`
start_time=`date "+%Y%m%d %H%M%S"`
echo 'start_time='${start_time}>/tmp/wget.log
#wget -c '${download_url}' -O /tmp/${download_date}.tar.gz
end_time=`date "+%Y%m%d %H%M%S"`
echo 'end_time='${end_time}>>/tmp/wget.log
[root@localhost tmp]# more geturl.sh
#!/bin/bash
download_str=`python /tmp/geturl.py`
echo $download_str
download_url=`echo $download_str | cut -d "|" -f 1`
filesize=`echo $download_str | cut -d "|" -f 2`
filename=`echo $download_str | cut -d "|" -f 3`
echo $download_url
echo $filesize
echo $filename