Saturday, November 8, 2008

Grabbing info from web pages

This is how you use wget to grab a web page to stdout ...

wget -O - http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml

Where -O species the output file, and the - specifies use stdout instead of a filename.

No comments: