ANN: googlenews.py

  • Thread starter =?ISO-8859-1?Q?I=F1igo?= Serna
  • Start date
?

=?ISO-8859-1?Q?I=F1igo?= Serna

hi there,

while half the world is watching Olympic Games and the other half
is discussing about decorators, and as far as my good proposal
("#decorator" :) has been sadly ignored, I've spent last days writing
googlenews.py [1], a simple python script to retrieve news from the
http://news.google.com service.

Supported feeds: es, fr, de, it, nz, au, in, ca, uk, us
Can export to: rss2 xml and html files

Requirements:
- Python 2.3+
- BeautifulSoap (http://www.crummy.com/software/BeautifulSoup)

I use it in a hourly cron script, building rss files which I read with
liferea :

[inigo@inigo inigo]$ cat /etc/cron.hourly/googlenews
#!/bin/bash
/home/devel/mine/googlenews/googlenews.py --rss-path=/tmp -w -q es
/home/devel/mine/googlenews/googlenews.py -cnes --rss-path=/tmp -w -q nz
exit 0
[inigo@inigo inigo]$

type "googlenews.py --help" for more info.

Hope you like it,
Iñigo

[1] http://inigo.katxi.org/devel/misc/googlenews.py
[2] http://liferea.sourceforge.net
--
Iñigo Serna <[email protected]>
Katxijasotzaileak

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBLPx0yEiL8H0Z6/ERAqCPAJ4q5S0FzPi6DSmIETtDE+08X1vZgACdEhIC
eFAiSZy8jQgmY4q6Zfx/yAE=
=sOOf
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ANN: MyNewspaper v3.0 0
ANN: pynakotheka v1.0 0
ANN: pynakotheka v1.0.2 0
ANN: pynakotheka v1.0.1 0
ANN: lfm v2.3 0
ANN: MyNewspaper-1.0 0
ANN: MyNewspaper 1.2 0
ANN: pynakotheka v1.1.0 0

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top