summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'