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/01net.sh

17 lines
1.1 KiB
Bash
Raw Normal View History

2023-04-30 21:28:42 +02:00
#!/bin/sh
repdest="/var/www/website/backends"
to=60
wget --referer="http://www.yahoo.com" --user-agent="Mozilla/4.0" -O $repdest/xml/01_entreprises.rss http://xml.newsisfree.com/feeds/83/383.xml
wget --user-agent="Mozilla/4.0" -T $to -O $repdest/xml/01_net.rss http://xml.newsisfree.com/feeds/79/379.xml
wget --user-agent="Mozilla/4.0" -T $to -O $repdest/xml/01_neteco.rss http://xml.newsisfree.com/feeds/80/380.xml
wget --user-agent="Mozilla/4.0" -T $to -O $repdest/xml/01_produits.rss http://xml.newsisfree.com/feeds/81/381.xml
wget --user-agent="Mozilla/4.0" -T $to -O $repdest/xml/01_telecom.rss http://xml.newsisfree.com/feeds/84/384.xml
wget --user-agent="Mozilla/4.0" -T $to -O $repdest/xml/01_sites.rss http://xml.newsisfree.com/feeds/82/382.xml
wget --user-agent="Mozilla/4.0" -T $to -O $repdest/xml/01_emploi.rss http://xml.newsisfree.com/feeds/83/1183.xml
wget --user-agent="Mozilla/4.0" -T $to -O $repdest/xml/01_jeux.rss http://xml.newsisfree.com/feeds/82/1182.xml
wget --user-agent="Mozilla/4.0" -T $to -O $repdest/xml/01_titres.rss http://xml.newsisfree.com/feeds/15/715.xml
date +"(MAJ %d %b %Y @ %H:%M)">/var/www/website/modules/backends/01net.date.txt