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

17 lines
1.2 KiB
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/monde_auj.rss http://xml.newsisfree.com/feeds/54/1654.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/monde_culture.rss http://xml.newsisfree.com/feeds/56/1656.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/monde_france.rss http://xml.newsisfree.com/feeds/49/1649.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/monde_international.rss http://xml.newsisfree.com/feeds/20/820.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/monde_titres.rss http://xml.newsisfree.com/feeds/57/1657.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/monde_regions.rss http://xml.newsisfree.com/feeds/51/1651.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/monde_sciences.rss http://xml.newsisfree.com/feeds/22/822.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/monde_societe.rss http://xml.newsisfree.com/feeds/50/1650.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/monde_sport.rss http://xml.newsisfree.com/feeds/55/1655.xml
#wget -O $repdest/xml/monde_diplo.rss http://www.monde-diplomatique.fr/recents.xml
date +"(MAJ %d %b %Y @ %H:%M)">/var/www/website/webnews/modules/backends/lemonde.date.txt