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

23 lines
953 B
Bash
Raw Normal View History

2023-04-30 21:28:42 +02:00
#!/bin/sh
export HTTP_USER_AGENT="Opera/7.10 (UNIX; U) [en]"
command="./curl_wrapper"
echo
echo "---- googlenews.sh ----"
echo
$command xml/googlenewsfr_une.rss http://news.google.fr/news?ned=fr\&topic=h\&output=rss
$command xml/googlenewsfr_int.rss http://news.google.fr/news?ned=fr\&topic=w\&output=rss
$command xml/googlenewsfr_france.rss http://news.google.fr/news?ned=fr\&topic=n\&output=rss
$command xml/googlenewsfr_eco.rss http://news.google.fr/news?ned=fr\&topic=b\&output=rss
$command xml/googlenewsfr_science.rss http://news.google.fr/news?ned=fr\&topic=t\&output=rss
$command xml/googlenewsfr_sante.rss http://news.google.fr/news?ned=fr\&topic=m\&output=rss
$command xml/googlenewsfr_sports.rss http://news.google.fr/news?ned=fr\&topic=s\&output=rss
$command xml/googlenewsfr_culture.rss http://news.google.fr/news?ned=fr\&topic=e\&output=rss
date +"(MAJ %d %b %Y @ %H:%M)">/www/website/webnews/modules/backends/googlenewsfr.date.txt