summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions/wdl.fish14
1 files changed, 14 insertions, 0 deletions
diff --git a/functions/wdl.fish b/functions/wdl.fish
new file mode 100644
index 0000000..e229f0f
--- /dev/null
+++ b/functions/wdl.fish
@@ -0,0 +1,14 @@
+function wdl --wraps "wget" --description "Download a whole website"
+ echo 'Use --domains XX and --no-parent XXX to have get clean links\n'
+ wget \
+ --continue \
+ --recursive \
+ --no-clobber \
+ --page-requisites \
+ --html-extension \
+ --convert-links \
+ --restrict-file-names=windows \
+ $argv
+ # --domains box.ache.one \
+ # --no-parent \ "box.ache.one:1080"
+end