Guest User

search.sh

a guest
May 18th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. q="$(echo $1 | sed 's/\ /%20/g')";
  2. curl --no-progress-meter https://www.google.com/search?q=$q -A Mozilla |
  3. grep -io "<a href=[\'\"]\/url?q=[^\'\"]*[\'\"]" |
  4. sed -e "s/<a href=\"\/url?q=//" -e 's/&amp;sa=U.*\"//' -e '/\.google\.com/d'
Advertisement
Add Comment
Please, Sign In to add comment