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

jasonwryan jasonwryan at gmail.com
Wed Jul 4 02:48:57 UTC 2012


The following commit has been merged in the master branch:
commit 30aab347b827c1cf50adf2dbae767d0e0d0994e5
Author: jasonwryan <jasonwryan at gmail.com>
Date:   Wed Jul 4 14:45:57 2012 +1200

    Fix #680138 changed URLs in rae elvis
    Thanks to Facundo Aguirre for the report and fix.

diff --git a/elvi/rae b/elvi/rae
index 54f0161..be2ffbf 100755
--- a/elvi/rae
+++ b/elvi/rae
@@ -39,8 +39,8 @@ w3_config
 w3_parse_args "$@"
 # w3_args now contains a list of arguments
 if null "$w3_args"; then
-    w3_browse_url "http://buscon.rae.es/diccionario/drae.htm"
+    w3_browse_url "http://www.rae.es/drae/"
 else
     escaped_args=`w3_url_of_arg $w3_args`
-    w3_browse_url "http://buscon.rae.es/draeI/SrvltGUIBusUsual?TIPO_HTML=2&LEMA=${escaped_args}&&TIPO_BUS=${SURFRAW_rae_tipo}"
+    w3_browse_url "http://www.rae.es/drae/srv/search?type=3D${SURFRAW_rae_tipo}=&val=${escaped_args}"
 fi

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



More information about the Surfraw-commits mailing list