opendir_video (1068B)
1 #!/bin/sh 2 # AUTHOR: gotbletu (@gmail|twitter|youtube|github|lbry) 3 # 4 # DATE: Wed October 04, 2017 5 # 6 # DESC: Elvi to search google for open directories video files 7 # elvis: opendir_video -- Search google for open directories video files (https://www.google.com) 8 . surfraw || exit 1 9 10 w3_usage_hook () { 11 cat <<EOF 12 Usage: $w3_argv0 [options] [search words]... 13 Description: 14 Search google for open directories video files (https://www.google.com) 15 EOF 16 w3_global_usage 17 } 18 19 w3_config 20 w3_parse_args "$@" 21 if test -z "$w3_args"; then 22 w3_browse_url "https://www.google.com/search?q=%2B(.mkv|.m4v|.mp4|.avi|.mov|.mpg|.mpeg|.wmv)+intitle:%22index%20of%22%20-inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)%20-inurl:(listen77|mp3raid|mp3toss|mp3drug|index_of|wallywashis)" 23 else 24 escaped_args=`w3_url_of_arg $w3_args` 25 w3_browse_url "https://www.google.com/search?q=%2B(.mkv|.m4v|.mp4|.avi|.mov|.mpg|.mpeg|.wmv)%20+${escaped_args}%20+intitle:%22index%20of%22%20-inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)%20-inurl:(listen77|mp3raid|mp3toss|mp3drug|index_of|wallywashis)" 26 fi