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/lefigaro.sh

12 lines
690 B
Bash
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
#!/bin/sh
repdest="/var/www/website/backends"
wget --user-agent="Mozilla/4.0" -O $repdest/xml/figaro.rss http://xml.newsisfree.com/feeds/95/3295.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/figaro_eco.rss http://xml.newsisfree.com/feeds/99/3299.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/figaro_france.rss http://xml.newsisfree.com/feeds/97/3297.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/figaro_international.rss http://xml.newsisfree.com/feeds/96/3296.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/figaro_politique.rss http://xml.newsisfree.com/feeds/98/3298.xml
date +"(MAJ %d %b %Y @ %H:%M)">/var/www/website/webnews/modules/backends/lefigaro.date.txt