[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-132-g254233c
Ian Beckwith
ianb at erislabs.net
Mon Oct 25 01:39:02 UTC 2010
The following commit has been merged in the master branch:
commit 13b091a3e25af32c30ed484dd9af8a2b83437a7c
Author: Ian Beckwith <ianb at erislabs.net>
Date: Mon Oct 25 01:11:28 2010 +0100
yahoo: reduced query string to just p and n options.
diff --git a/ChangeLog b/ChangeLog
index c95f209..abd1465 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2010-10-25 Ian Beckwith <ianb at erislabs.net>
+ * yahoo: reduced query string to just p and n options.
* openbsd: support -misc and -tech. Thanks to
Sunil Nimmagadda for the patch.
diff --git a/elvi/yahoo b/elvi/yahoo
index 3d1884e..ba62c2f 100755
--- a/elvi/yahoo
+++ b/elvi/yahoo
@@ -37,5 +37,5 @@ if test -z "$w3_args"; then
w3_browse_url "http://www.yahoo.com/"
else
escaped_args=`w3_url_of_arg $w3_args`
- w3_browse_url "http://search.yahoo.com/search?p=${escaped_args}&d=y&o=i&g=0&n=${SURFRAW_yahoo_results}&h=c"
+ w3_browse_url "http://search.yahoo.com/search?p=${escaped_args}&n=${SURFRAW_yahoo_results}"
fi
diff --git a/test/yahoo.test b/test/yahoo.test
index d3af7ae..9262422 100644
--- a/test/yahoo.test
+++ b/test/yahoo.test
@@ -1,2 +1,2 @@
yahoo swans
-\d+\s*-\s*\d+\s+of\s+about
+Anatidae
--
surfraw - a fast unix command line interface to WWW
More information about the Surfraw-commits
mailing list