[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-209-g3952acc

Ian Beckwith ianb at erislabs.net
Mon Jul 11 23:48:28 UTC 2011


The following commit has been merged in the master branch:
commit c222950744bf988665ced93f218a31c04dac3c84
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Tue Jul 12 00:43:36 2011 +0100

    fix cia

diff --git a/ChangeLog b/ChangeLog
index 36481c4..9720dbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 	  google custom searches were complaining I was a bot, so I
 	  switched to normal google searches with
 	  site:{mail-index,}.netbsd.org.
+	* cia: fix search URL
 
 2011-06-17  Ian Beckwith  <ianb at erislabs.net>
 
diff --git a/elvi/cia b/elvi/cia
index a974250..1c24a7f 100755
--- a/elvi/cia
+++ b/elvi/cia
@@ -23,5 +23,5 @@ if test -z "$w3_args"; then
     w3_browse_url "https://www.cia.gov/"
 else
     escaped_args=`w3_url_of_arg $w3_args`
-    w3_browse_url "https://www.cia.gov/search?q=${escaped_args}&site=&client=CIA&proxystylesheet=CIA&output=xml_no_dtd&myAction=%2Fsearch&submitMethod=get"
+    w3_browse_url "https://www.cia.gov/search?q=${escaped_args}&site=CIA&client=CIA&proxystylesheet=CIA&output=xml_no_dtd&myAction=%2Fsearch&submitMethod=get"
 fi

-- 
surfraw -  a fast unix command line interface to WWW



More information about the Surfraw-commits mailing list