summaryrefslogtreecommitdiff
path: root/archive-dl
diff options
context:
space:
mode:
Diffstat (limited to 'archive-dl')
-rwxr-xr-xarchive-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/archive-dl b/archive-dl
index 735f40d..3a80ca5 100755
--- a/archive-dl
+++ b/archive-dl
@@ -17,4 +17,4 @@ fi
check $input
check $type
-curl -s $input | grep $type | sed -n 's/.*href="\([^"]*\)".*/\1/p'
+curl -s $input | grep $type | sed -n 's/.*href="\([^"]*\)".*/\1/p' | xargs -I {} curl -LO "$input/{}"