[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-66-g558d649
James Rowe
jnrowe at gmail.com
Thu Jan 28 16:08:07 UTC 2010
The following commit has been merged in the master branch:
commit 558d649be8ca5171263272032156f9c93b676144
Author: James Rowe <jnrowe at gmail.com>
Date: Tue Jan 26 09:05:54 2010 +0000
elvi/bbcnews: Fixes for upstream's search changes.
Based on a patch by Sumant Oemrawsingh.
diff --git a/ChangeLog b/ChangeLog
index 47db194..d263f45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-26 James Rowe <jnrowe at gmail.com>
+
+ * elvi/bbcnews: Fixes for upstreams search changes. Based on a patch by
+ Sumant Oemrawsingh.
+
2010-01-06 Ian Beckwith <ianb at erislabs.net>
* surfraw.1.IN: document new config locations.
diff --git a/elvi/bbcnews b/elvi/bbcnews
index 61ab366..da47705 100755
--- a/elvi/bbcnews
+++ b/elvi/bbcnews
@@ -41,17 +41,13 @@ w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
- if [ $SURFRAW_bbcnews_scope = uk ]; then
- w3_browse_url "http://news.bbc.co.uk/1/hi.html"
- else
- w3_browse_url "http://news.bbc.co.uk/2/hi.html"
- fi
+ w3_browse_url "http://news.bbc.co.uk/"
else
escaped_args=`w3_url_of_arg $w3_args`
if [ $SURFRAW_bbcnews_scope = uk ]; then
- w3_browse_url "http://newssearch.bbc.co.uk/cgi-bin/search/results.pl?scope=newsukfs&tab=news&q=${escaped_args}"
+ w3_browse_url "http://search.bbc.co.uk/search?scope=uk&tab=ns&q=${escaped_args}"
else
- w3_browse_url "http://newssearch.bbc.co.uk/cgi-bin/search/results.pl?scope=newsifs&tab=news&q=${escaped_args}"
+ w3_browse_url "http://search.bbc.co.uk/search?scope=all&tab=ns&q=${escaped_args}"
fi
fi
--
surfraw - a fast unix command line interface to WWW
More information about the Surfraw-commits
mailing list