summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschizoid <schizoidparty@aol.com>2024-12-09 12:02:21 -0500
committerschizoid <schizoidparty@aol.com>2024-12-09 12:02:21 -0500
commita8c15bc0ac246fc12cd5c6bda02c282bd2419a5b (patch)
treeaac77c0d00ab152cce9ceeb2189aaf10e4e056ea
parent55a29d21536323bf66ef57e8592a8299dc2b0dad (diff)
Created simple URL extraction
-rwxr-xr-xarchive-dl5
1 files changed, 1 insertions, 4 deletions
diff --git a/archive-dl b/archive-dl
index cbf4b93..735f40d 100755
--- a/archive-dl
+++ b/archive-dl
@@ -17,7 +17,4 @@ fi
check $input
check $type
-echo $input
-echo $type
-
-#curl $input
+curl -s $input | grep $type | sed -n 's/.*href="\([^"]*\)".*/\1/p'