summaryrefslogtreecommitdiff
path: root/cdx_json
diff options
context:
space:
mode:
Diffstat (limited to 'cdx_json')
-rwxr-xr-xcdx_json7
1 files changed, 0 insertions, 7 deletions
diff --git a/cdx_json b/cdx_json
deleted file mode 100755
index 81284af..0000000
--- a/cdx_json
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env bash
-
-url='http://web.archive.org/cdx/search/cdx?output=json'
-for arg in "$@"; do
- url+="&${arg%%=*}=$(printf '%s' "${arg#*=}"|urlencode)"
-done
-curl -s "$url"