xdcchorriblesubs (751B)
1 #!/bin/sh 2 # AUTHOR: gotbletu (@gmail|twitter|youtube|github|lbry) 3 # 4 # DATE: Sat August 17, 2019 5 # 6 # DESC: Elvi to search xdcchorriblesubs for irc xdcc anime video files 7 # elvis: xdcchorriblesubs -- Search xdcchorriblesubs for irc xdcc anime video files (https://xdcc.horriblesubs.info) 8 . surfraw || exit 1 9 10 w3_usage_hook () { 11 cat <<EOF 12 Usage: $w3_argv0 [options] [search words]... 13 Description: 14 Search xdcchorriblesubs (https://xdcc.horriblesubs.info) for irc xdcc anime video files 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://xdcc.horriblesubs.info" 23 else 24 escaped_args=`w3_url_of_arg $w3_args` 25 w3_browse_url "https://xdcc.horriblesubs.info/?search=${escaped_args}" 26 fi