Skip to content

Commit

Permalink
+ yahoo.com search engine
Browse files Browse the repository at this point in the history
  • Loading branch information
l29ah committed Nov 24, 2011
1 parent ec9c79b commit fa4c8cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yahoo.com/yahoo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
curl -s "http://search.yahoo.com/search?fr=ush-news&p=$(printf "$1" | urlencode)" |
sed -e 's/>/>\n/g' |
sed -n -e 's#.*yschttl spt.*href="\([^"]*\)".*#\1#p'

0 comments on commit fa4c8cf

Please sign in to comment.