summaryrefslogtreecommitdiff
path: root/funia.sh
diff options
context:
space:
mode:
Diffstat (limited to 'funia.sh')
-rwxr-xr-xfunia.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/funia.sh b/funia.sh
deleted file mode 100755
index c758f58..0000000
--- a/funia.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-base_url=https://basic.photofunia.com
-
-tmpfile=$(mktemp /tmp/funia.XXXXXX)
-
-category=$(
-curl -s "$base_url/categories" \
- | sed -n -e 's/[[:blank:]]//g' -e '/all_effects/d' -e 's|^.*href="/categories/\(.*\)".*$|\1|p' \
- | sort \
- | dmenu
-)
-
-page=1
-while curl -so "$tmpfile" "$base_url/categories/$category?page=$page"
-do
- echo ----- $page -----
- page="$(($page + 1))"
-done
-
-cat "$tmpfile"