summaryrefslogtreecommitdiff
path: root/.config/surfraw/elvi/ehentai
diff options
context:
space:
mode:
Diffstat (limited to '.config/surfraw/elvi/ehentai')
-rwxr-xr-x.config/surfraw/elvi/ehentai44
1 files changed, 44 insertions, 0 deletions
diff --git a/.config/surfraw/elvi/ehentai b/.config/surfraw/elvi/ehentai
new file mode 100755
index 0000000..6f3c46b
--- /dev/null
+++ b/.config/surfraw/elvi/ehentai
@@ -0,0 +1,44 @@
+#!/bin/sh
+# ______ _ _ ______ _______ ______ _______ _ _ _
+# / _____)(_) (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_)
+# ( (____ _ _ _____) ) _____ _____) ) _______ _ _ _
+# \____ \ | | | || __ / | ___) | __ / | ___ || || || |
+# _____) )| |___| || | \ \ | | | | \ \ | | | || || || |
+# (______/ \_____/ |_| |_||_| |_| |_||_| |_| \_____/
+# Surfraw - Shell Users' Revolutionary Front Rage Against the Web
+# https://surfraw.alioth.debian.org
+# _ _ _ _
+# __ _ ___ | |_| |__ | | ___| |_ _ _
+# / _` |/ _ \| __| '_ \| |/ _ \ __| | | |
+#| (_| | (_) | |_| |_) | | __/ |_| |_| |
+# \__, |\___/ \__|_.__/|_|\___|\__|\__,_|
+# |___/
+# https://www.youtube.com/user/gotbletu
+# https://twitter.com/gotbletu
+# https://plus.google.com/+gotbletu
+# https://github.com/gotbletu
+# gotbleu@gmail.com
+#
+# DATE: Sun Feb 07, 2016
+#
+# DESC: Elvi to search e-hentai
+# elvis: ehentai -- Search e-hentai for hentai mangas (http://g.e-hentai.org/)
+. surfraw || exit 1
+
+w3_usage_hook () {
+ cat <<EOF
+Usage: $w3_argv0 [options] [search words]...
+Description:
+ Search ehentai (http://g.e-hentai.org/) for hentai mangas
+EOF
+ w3_global_usage
+}
+
+w3_config
+w3_parse_args "$@"
+if test -z "$w3_args"; then
+ w3_browse_url "http://g.e-hentai.org/"
+else
+ escaped_args=`w3_url_of_arg $w3_args`
+ w3_browse_url "http://g.e-hentai.org/?f_doujinshi=1&f_manga=1&f_artistcg=1&f_gamecg=1&f_western=1&f_non-h=1&f_imageset=1&f_cosplay=1&f_asianporn=1&f_misc=1&f_search=${escaped_args}&f_apply=Apply+Filter"
+fi