diff options
Diffstat (limited to 'lib/httracker/functions')
| -rw-r--r-- | lib/httracker/functions | 45 | 
1 files changed, 22 insertions, 23 deletions
| diff --git a/lib/httracker/functions b/lib/httracker/functions index a5144c9..33152b1 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -26,19 +26,17 @@ function httracker_get {    fi    # Get each URL -  httrack               \ -    --mirror            \ -    --continue          \ -    --depth=${DEPTH}    \ -    --near              \ -    --purge-old=0       \ -    --index             \ -    --cookies=1         \ -    --path ${target}    \ -    -r${LEVEL} ${OPTS} ${url} -    #-e%${EXT_LEVEL}    \ -    #-m$FILESIZE        \ -    #--verbose +  httrack                    \ +    --mirror                 \ +    --continue               \ +    --depth=${DEPTH}         \ +    --ext-depth ${EXT_DEPTH} \ +    --near                   \ +    --purge-old=0            \ +    --index                  \ +    --cookies=1              \ +    --path ${target}         \ +    ${OPTS} ${url}    if [ "$?" == "0" ]; then      # Mark as downloaded @@ -64,16 +62,17 @@ function httracker_get_incremental {    fi    # Grabs URLs from the network -  httrack --verbose           \ -          --mirror            \ -          --continue          \ -          --user links        \ -          --depth=${DEPTH}    \ -          --near              \ -          --purge-old=0       \ -          --index             \ -          --cookies=1         \ -          --list ${URLS}      \ +  httrack                          \ +          --mirror                 \ +          --continue               \ +          --depth=${DEPTH}         \ +          --ext-depth ${EXT_DEPTH} \ +          --near                   \ +          --purge-old=0            \ +          --index                  \ +          --cookies=1              \ +          --user links             \ +          --list ${URLS}           \            --path ${target} ${OPTS}  } | 
