[Surfraw-commits] [surfraw] 01/01: Fixed images and maps in yandex

jason ryan jasonwryan-guest at moszumanska.debian.org
Sat Jul 26 02:09:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

jasonwryan-guest pushed a commit to branch master
in repository surfraw.

commit af565c5e2bcc5c0a8c36b81e1a8b9b95f7de7180
Author: Jason Ryan <jasonwryan at gmail.com>
Date:   Sat Jul 26 14:05:43 2014 +1200

    Fixed images and maps in yandex
---
 elvi/yandex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/elvi/yandex b/elvi/yandex
index f345691..fb9c014 100755
--- a/elvi/yandex
+++ b/elvi/yandex
@@ -17,7 +17,7 @@ Local options:		Specialized search on topic
   -news		|	News
   -images	|	Images
   -market	|	Market
-  -maps		|	Maps (not implemented)
+  -maps		|	Maps
 EOF
     w3_global_usage
 }
@@ -29,7 +29,8 @@ w3_parse_option_hook () {
       -dict)   search="search.xml?" opt=slovari ;;
       -news)   search="yandsearch?rpt=nnews2\&" ;;
       -market) search="search.xml?" ;;
-      -images|-maps) : ;;
+      -images) search="search?" ;;
+      -maps)   search="?" ;;
        *)      return 1
     esac
     setopt SURFRAW_yandex_domain "${opt:+${opt#-}.}"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/surfraw/surfraw.git



More information about the Surfraw-commits mailing list