n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/scripts/dazibaweb/libe.sh

15 lines
857 B
Bash
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
#!/bin/sh
repdest="/var/www/website/webnews/modules/backends"
to=60
wget -T $to -O $repdest/html/libe_dernieres.html http://www.libe.fr/page.php\?Template=REUTERS_DD
wget -O $repdest/html/libe_monde.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=MONDE
wget -O $repdest/html/libe_france.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=FRANCE
wget -O $repdest/html/libe_eco.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=ECONOMIE
wget -O $repdest/html/libe_sports.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=SPORTS
wget -O $repdest/html/libe_tech.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=TECHNOLOGIE
wget -O $repdest/html/libe_insolite.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=INSOLITE
date +"(MAJ %d %b %Y @ %H:%M)">$repdest/libe.date.txt