aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:53:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:53:43 -0300
commit39e06a12805bc2ef6a709bfa1e9218e50e25cda3 (patch)
tree997afe0f709186331f721c4fead1d6074280603b /lib
parent56b5c08975005b0eef4f9075e064e7e6fd9e3928 (diff)
downloadhttruta-39e06a12805bc2ef6a709bfa1e9218e50e25cda3.tar.gz
httruta-39e06a12805bc2ef6a709bfa1e9218e50e25cda3.tar.bz2
Make depth configurable
Diffstat (limited to 'lib')
-rw-r--r--lib/httracker/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions
index 77fc667..b283586 100644
--- a/lib/httracker/functions
+++ b/lib/httracker/functions
@@ -29,7 +29,7 @@ function httracker_get {
httrack \
--mirror \
--continue \
- --depth=2 \
+ --depth=${DEPTH} \
--purge-old=0 \
--index \
--cookies=1 \
@@ -67,7 +67,7 @@ function httracker_get_incremental {
--mirror \
--continue \
--user links \
- --depth=2 \
+ --depth=${DEPTH} \
--purge-old=0 \
--index \
--cookies=1 \