From e09901a1594858e8f3dd15fca72a9835ca678075 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Thu, 12 Jan 2023 22:12:28 +0100 Subject: Updated to 3.49.3 --- html/httrack.man.html | 854 +++++++++++++++++++++++--------------------------- 1 file changed, 385 insertions(+), 469 deletions(-) (limited to 'html/httrack.man.html') diff --git a/html/httrack.man.html b/html/httrack.man.html index 19f55f3..748e64e 100644 --- a/html/httrack.man.html +++ b/html/httrack.man.html @@ -1,4 +1,4 @@ - + @@ -42,7 +42,7 @@ -

httrack − +

httrack - offline browser : copy websites to a local directory

SYNOPSIS @@ -51,100 +51,55 @@ offline browser : copy websites to a local directory

httrack [ -url ]... [ −filter ]... [ +filter ]... [ −O, -−−path ] [ −w, -−−mirror ] [ −W, -−−mirror−wizard ] [ −g, -−−get−files ] [ −i, -−−continue ] [ −Y, -−−mirrorlinks ] [ −P, -−−proxy ] [ −%f, -−−httpproxy−ftp[=N] ] [ −%b, -−−bind ] [ −rN, -−−depth[=N] ] [ −%eN, -−−ext−depth[=N] ] [ −mN, -−−max−files[=N] ] [ −MN, -−−max−size[=N] ] [ −EN, -−−max−time[=N] ] [ −AN, -−−max−rate[=N] ] [ −%cN, -−−connection−per−second[=N] ] [ -−GN, −−max−pause[=N] ] [ -−cN, −−sockets[=N] ] [ -−TN, −−timeout[=N] ] [ -−RN, −−retries[=N] ] [ -−JN, −−min−rate[=N] ] [ -−HN, −−host−control[=N] ] [ -−%P, −−extended−parsing[=N] ] -[ −n, −−near ] [ −t, -−−test ] [ −%L, -−−list ] [ −%S, -−−urllist ] [ −NN, -−−structure[=N] ] [ −%D, -−−cached−delayed−type−check -] [ −%M, −−mime−html ] [ -−LN, −−long−names[=N] ] [ -−KN, −−keep−links[=N] ] [ -−x, −−replace−external ] [ -−%x, −−disable−passwords ] [ -−%q, -−−include−query−string ] [ -−o, −−generate−errors ] [ -−X, −−purge−old[=N] ] [ -−%p, −−preserve ] [ −%T, -−−utf8−conversion ] [ −bN, -−−cookies[=N] ] [ −u, -−−check−type[=N] ] [ −j, -−−parse−java[=N] ] [ −sN, -−−robots[=N] ] [ −%h, -−−http−10 ] [ −%k, -−−keep−alive ] [ −%B, -−−tolerant ] [ −%s, -−−updatehack ] [ −%u, -−−urlhack ] [ −%A, -−−assume ] [ −@iN, -−−protocol[=N] ] [ −%w, -−−disable−module ] [ −F, -−−user−agent ] [ −%R, -−−referer ] [ −%E, -−−from ] [ −%F, -−−footer ] [ −%l, -−−language ] [ −%a, -−−accept ] [ −%X, -−−headers ] [ −C, -−−cache[=N] ] [ −k, -−−store−all−in−cache ] [ -−%n, −−do−not−recatch ] -[ −%v, −−display ] [ −Q, -−−do−not−log ] [ −q, -−−quiet ] [ −z, -−−extra−log ] [ −Z, -−−debug−log ] [ −v, -−−verbose ] [ −f, -−−file−log ] [ −f2, -−−single−log ] [ −I, -−−index ] [ −%i, -−−build−top−index ] [ -−%I, −−search−index ] [ -−pN, −−priority[=N] ] [ -−S, -−−stay−on−same−dir ] [ -−D, −−can−go−down ] [ -−U, −−can−go−up ] [ -−B, -−−can−go−up−and−down -] [ −a, -−−stay−on−same−address ] [ -−d, -−−stay−on−same−domain ] [ -−l, -−−stay−on−same−tld ] [ -−e, −−go−everywhere ] [ -−%H, −−debug−headers ] [ -−%!, -−−disable−security−limits ] [ -−V, −−userdef−cmd ] [ -−%W, −−callback ] [ −K, -−−keep−links[=N] ] [

+url ]... [ -filter ]... [ +filter ]... [ -O, --path ] [ +-w, --mirror ] [ -W, --mirror-wizard ] [ +-g, --get-files ] [ -i, --continue ] [ -Y, +--mirrorlinks ] [ -P, --proxy ] [ -%f, +--httpproxy-ftp[=N] ] [ -%b, --bind ] [ -rN, +--depth[=N] ] [ -%eN, --ext-depth[=N] ] [ -mN, +--max-files[=N] ] [ -MN, --max-size[=N] ] [ +-EN, --max-time[=N] ] [ -AN, --max-rate[=N] ] +[ -%cN, --connection-per-second[=N] ] [ -GN, +--max-pause[=N] ] [ -cN, --sockets[=N] ] [ +-TN, --timeout[=N] ] [ -RN, --retries[=N] ] [ +-JN, --min-rate[=N] ] [ -HN, +--host-control[=N] ] [ -%P, +--extended-parsing[=N] ] [ -n, --near ] [ -t, +--test ] [ -%L, --list ] [ -%S, --urllist +] [ -NN, --structure[=N] ] [ -%D, +--cached-delayed-type-check ] [ -%M, --mime-html +] [ -LN, --long-names[=N] ] [ -KN, +--keep-links[=N] ] [ -x, --replace-external ] [ +-%x, --disable-passwords ] [ -%q, +--include-query-string ] [ -o, --generate-errors +] [ -X, --purge-old[=N] ] [ -%p, --preserve ] +[ -%T, --utf8-conversion ] [ -bN, +--cookies[=N] ] [ -u, --check-type[=N] ] [ -j, +--parse-java[=N] ] [ -sN, --robots[=N] ] [ +-%h, --http-10 ] [ -%k, --keep-alive ] [ +-%B, --tolerant ] [ -%s, --updatehack ] [ +-%u, --urlhack ] [ -%A, --assume ] [ -@iN, +--protocol[=N] ] [ -%w, --disable-module ] [ +-F, --user-agent ] [ -%R, --referer ] [ +-%E, --from ] [ -%F, --footer ] [ -%l, +--language ] [ -%a, --accept ] [ -%X, +--headers ] [ -C, --cache[=N] ] [ -k, +--store-all-in-cache ] [ -%n, --do-not-recatch ] +[ -%v, --display ] [ -Q, --do-not-log ] [ +-q, --quiet ] [ -z, --extra-log ] [ -Z, +--debug-log ] [ -v, --verbose ] [ -f, +--file-log ] [ -f2, --single-log ] [ -I, +--index ] [ -%i, --build-top-index ] [ -%I, +--search-index ] [ -pN, --priority[=N] ] [ -S, +--stay-on-same-dir ] [ -D, --can-go-down ] [ +-U, --can-go-up ] [ -B, --can-go-up-and-down ] +[ -a, --stay-on-same-address ] [ -d, +--stay-on-same-domain ] [ -l, --stay-on-same-tld +] [ -e, --go-everywhere ] [ -%H, +--debug-headers ] [ -%!, +--disable-security-limits ] [ -V, --userdef-cmd ] +[ -%W, --callback ] [ -K, --keep-links[=N] ] +[

DESCRIPTION @@ -175,29 +130,27 @@ www.someweb.com/bob/ and only this site

httrack www.someweb.com/bob/ www.anothertest.com/mike/ +*.com/*.jpg
-−mime:application/*

+-mime:application/*

mirror the two sites together (with shared links) and accept any .jpg files on .com sites

httrack -www.someweb.com/bob/bobby.html +* −r6

+www.someweb.com/bob/bobby.html +* -r6

means get all files starting -from bobby.html, with 6 link−depth, and possibility of -going everywhere on the web

+from bobby.html, with 6 link-depth, and possibility of going +everywhere on the web

httrack -www.someweb.com/bob/bobby.html −−spider −P -
+www.someweb.com/bob/bobby.html --spider -P
proxy.myhost.com:8080

runs the spider on www.someweb.com/bob/bobby.html using a proxy

-

httrack -−−update

+

httrack --update

updates a mirror in the current folder

@@ -207,8 +160,7 @@ folder

will bring you to the interactive mode

-

httrack -−−continue

+

httrack --continue

continues a mirror in the current folder

@@ -228,14 +180,13 @@ options:

-

−O

+

-O

-

path for mirror/logfiles+cache (−O path -mirror[,path cache and logfiles]) (−−path -<param>)

+

path for mirror/logfiles+cache (-O path mirror[,path +cache and logfiles]) (--path <param>)

Action @@ -248,61 +199,60 @@ options:

-

−w

+

-w

-

*mirror web sites -(−−mirror)

+

*mirror web sites (--mirror)

-

−W

+

-W

-

mirror web sites, semi−automatic (asks questions) -(−−mirror−wizard)

+

mirror web sites, semi-automatic (asks questions) +(--mirror-wizard)

-

−g

+

-g

just get files (saved in the current directory) -(−−get−files)

+(--get-files)

-

−i

+

-i

continue an interrupted mirror using the cache -(−−continue)

+(--continue)

-

−Y

+

-Y

mirror ALL links located in the first level pages -(mirror links) (−−mirrorlinks)

+(mirror links) (--mirrorlinks)

Proxy @@ -315,38 +265,37 @@ options:

-

−P

+

-P

-

proxy use (−P proxy:port -or −P user:pass@proxy:port) (−−proxy -<param>)

+

proxy use (-P proxy:port or -P +user:pass@proxy:port) (--proxy <param>)

-

−%f

+

-%f

*use proxy for ftp (f0 don t use) -(−−httpproxy−ftp[=N])

+(--httpproxy-ftp[=N])

-

−%b

+

-%b

-

use this local hostname to make/send requests (−%b -hostname) (−−bind <param>)

+

use this local hostname to make/send requests (-%b +hostname) (--bind <param>)

Limits @@ -359,43 +308,43 @@ options:

-

−rN

+

-rN

set the mirror depth to N (* -r9999) (−−depth[=N])

+r9999) (--depth[=N])

-

−%eN

+

-%eN

set the external links depth to N (* %e0) -(−−ext−depth[=N])

+(--ext-depth[=N])

-

−mN

+

-mN

-

maximum file length for a non−html file -(−−max−files[=N])

+

maximum file length for a non-html file +(--max-files[=N])

-

−mN,N2

+

-mN,N2

@@ -406,61 +355,61 @@ r9999) (−−depth[=N])

-

−MN

+

-MN

maximum overall size that can be uploaded/scanned -(−−max−size[=N])

+(--max-size[=N])

-

−EN

+

-EN

maximum mirror time in seconds (60=1 minute, 3600=1 -hour) (−−max−time[=N])

+hour) (--max-time[=N])

-

−AN

+

-AN

maximum transfer rate in bytes/seconds (1000=1KB/s max) -(−−max−rate[=N])

+(--max-rate[=N])

-

−%cN

+

-%cN

maximum number of connections/seconds (*%c10) -(−−connection−per−second[=N])

+(--connection-per-second[=N])

-

−GN

+

-GN

pause transfer if N bytes reached, and wait until lock -file is deleted (−−max−pause[=N])

+file is deleted (--max-pause[=N])

Flow @@ -473,62 +422,61 @@ control:

-

−cN

+

-cN

number of multiple connections -(*c8) (−−sockets[=N])

+(*c8) (--sockets[=N])

-

−TN

+

-TN

-

timeout, number of seconds after a non−responding -link is shutdown (−−timeout[=N])

+

timeout, number of seconds after a non-responding link +is shutdown (--timeout[=N])

-

−RN

+

-RN

-

number of retries, in case of timeout or non−fatal -errors (*R1) (−−retries[=N])

+

number of retries, in case of timeout or non-fatal +errors (*R1) (--retries[=N])

-

−JN

+

-JN

traffic jam control, minimum transfert rate -(bytes/seconds) tolerated for a link -(−−min−rate[=N])

+(bytes/seconds) tolerated for a link (--min-rate[=N])

-

−HN

+

-HN

host is abandonned if: 0=never, 1=timeout, 2=slow, -3=timeout or slow (−−host−control[=N])

+3=timeout or slow (--host-control[=N])

Links @@ -541,63 +489,61 @@ options:

-

−%P

+

-%P

*extended parsing, attempt to parse all links, even in unknown tags or Javascript (%P0 don -t use) (−−extended−parsing[=N])

+t use) (--extended-parsing[=N])

-

−n

+

-n

-

get non−html files near an html file (ex: an image -located outside) (−−near)

+

get non-html files near an html file (ex: an image +located outside) (--near)

-

−t

+

-t

-

test all URLs (even forbidden ones) -(−−test)

+

test all URLs (even forbidden ones) (--test)

-

−%L

+

-%L

<file> add all URL located in this text file (one -URL per line) (−−list <param>)

+URL per line) (--list <param>)

-

−%S

+

-%S

<file> add all scan rules located in this text -file (one scan rule per line) (−−urllist -<param>)

+file (one scan rule per line) (--urllist <param>)

Build @@ -610,31 +556,30 @@ options:

-

−NN

+

-NN

structure type (0 *original -structure, 1+: see below) (−−structure[=N])

+structure, 1+: see below) (--structure[=N])

-

−or

+

-or

-

user defined structure (−N -"%h%p/%n%q.%t")

+

user defined structure (-N "%h%p/%n%q.%t")

-

−%N

+

-%N

@@ -647,46 +592,44 @@ t use, %N1 use for unknown extensions, * %N2 always use)

-

−%D

+

-%D

cached delayed type check, don t wait for remote type during updates, to speedup them (%D0 wait, * %D1 don t wait) -(−−cached−delayed−type−check)

+(--cached-delayed-type-check)

-

−%M

+

-%M

-

generate a RFC MIME−encapsulated -full−archive (.mht) -(−−mime−html)

+

generate a RFC MIME-encapsulated full-archive (.mht) +(--mime-html)

-

−LN

+

-LN

-

long names (L1 *long names / L0 8−3 conversion / -L2 ISO9660 compatible) -(−−long−names[=N])

+

long names (L1 *long names / L0 8-3 conversion / L2 +ISO9660 compatible) (--long-names[=N])

-

−KN

+

-KN

@@ -694,93 +637,91 @@ L2 ISO9660 compatible)

keep original links (e.g. http://www.adr/link) (K0 *relative link, K absolute links, K4 original links, K3 absolute URI links, K5 transparent proxy link) -(−−keep−links[=N])

+(--keep-links[=N])

-

−x

+

-x

replace external html links by error pages -(−−replace−external)

+(--replace-external)

-

−%x

+

-%x

do not include any password for external password -protected websites (%x0 include) -(−−disable−passwords)

+protected websites (%x0 include) (--disable-passwords)

-

−%q

+

-%q

*include query string for local files (useless, for information purpose only) (%q0 don t include) -(−−include−query−string)

+(--include-query-string)

-

−o

+

-o

*generate output html file in case of error (404..) (o0 -don t generate) (−−generate−errors)

+don t generate) (--generate-errors)

-

−X

+

-X

*purge old files after update (X0 keep delete) -(−−purge−old[=N])

+(--purge-old[=N])

-

−%p

+

-%p

-

preserve html files as is (identical to −K4 -−%F "" ) (−−preserve)

+

preserve html files as is (identical to -K4 -%F +"" ) (--preserve)

-

−%T

+

-%T

-

links conversion to UTF−8 -(−−utf8−conversion)

+

links conversion to UTF-8 (--utf8-conversion)

Spider @@ -793,166 +734,163 @@ options:

-

−bN

+

-bN

accept cookies in cookies.txt -(0=do not accept,* 1=accept) (−−cookies[=N])

+(0=do not accept,* 1=accept) (--cookies[=N])

-

−u

+

-u

check document type if unknown (cgi,asp..) (u0 don t check, * u1 check but /, u2 check always) -(−−check−type[=N])

+(--check-type[=N])

-

−j

+

-j

*parse Java Classes (j0 don t parse, bitmask: |1 parse default, |2 don t parse .class |4 don t parse .js |8 don t -be aggressive) (−−parse−java[=N])

+be aggressive) (--parse-java[=N])

-

−sN

+

-sN

follow robots.txt and meta robots tags (0=never,1=sometimes,* 2=always, 3=always (even strict -rules)) (−−robots[=N])

+rules)) (--robots[=N])

-

−%h

+

-%h

force HTTP/1.0 requests (reduce update features, only -for old servers or proxies) -(−−http−10)

+for old servers or proxies) (--http-10)

-

−%k

+

-%k

-

use keep−alive if possible, greately reducing -latency for small files and test requests (%k0 don t use) -(−−keep−alive)

+

use keep-alive if possible, greately reducing latency +for small files and test requests (%k0 don t use) +(--keep-alive)

-

−%B

+

-%B

tolerant requests (accept bogus responses on some -servers, but not standard!) (−−tolerant)

+servers, but not standard!) (--tolerant)

-

−%s

+

-%s

-

update hacks: various hacks to limit re−transfers -when updating (identical size, bogus response..) -(−−updatehack)

+

update hacks: various hacks to limit re-transfers when +updating (identical size, bogus response..) +(--updatehack)

-

−%u

+

-%u

url hacks: various hacks to limit duplicate URLs (strip -//, www.foo.com==foo.com..) (−−urlhack)

+//, www.foo.com==foo.com..) (--urlhack)

-

−%A

+

-%A

assume that a type (cgi,asp..) is always linked with a -mime type (−%A -php3,cgi=text/html;dat,bin=application/x−zip) -(−−assume <param>)

+mime type (-%A php3,cgi=text/html;dat,bin=application/x-zip) +(--assume <param>)

-

−can

+

-can

-

also be used to force a specific file type: -−−assume foo.cgi=text/html

+

also be used to force a specific file type: --assume +foo.cgi=text/html

-

−@iN

+

-@iN

internet protocol (0=both ipv6+ipv4, 4=ipv4 only, 6=ipv6 -only) (−−protocol[=N])

+only) (--protocol[=N])

-

−%w

+

-%w

-

disable a specific external mime module (−%w -htsswf −%w htsjava) -(−−disable−module <param>)

+

disable a specific external mime module (-%w htsswf -%w +htsjava) (--disable-module <param>)

Browser @@ -965,89 +903,88 @@ ID:

-

−F

+

-F

-

user−agent field sent in -HTTP headers (−F "user−agent name") -(−−user−agent <param>)

+

user-agent field sent in HTTP +headers (-F "user-agent name") (--user-agent +<param>)

-

−%R

+

-%R

-

default referer field sent in HTTP headers -(−−referer <param>)

+

default referer field sent in HTTP headers (--referer +<param>)

-

−%E

+

-%E

-

from email address sent in HTTP headers -(−−from <param>)

+

from email address sent in HTTP headers (--from +<param>)

-

−%F

+

-%F

-

footer string in Html code (−%F "Mirrored -[from host %s [file %s [at %s]]]" (−−footer +

footer string in Html code (-%F "Mirrored [from +host %s [file %s [at %s]]]" (--footer <param>)

-

−%l

+

-%l

-

preffered language (−%l "fr, en, jp, *" -(−−language <param>)

+

preffered language (-%l "fr, en, jp, *" +(--language <param>)

-

−%a

+

-%a

-

accepted formats (−%a -"text/html,image/png;q=0.9,*/*;q=0.1" -(−−accept <param>)

+

accepted formats (-%a +"text/html,image/png;q=0.9,*/*;q=0.1" (--accept +<param>)

-

−%X

+

-%X

-

additional HTTP header line (−%X -"X−Magic: 42" (−−headers -<param>)

+

additional HTTP header line (-%X "X-Magic: 42" +(--headers <param>)

Log, index, @@ -1060,166 +997,162 @@ cache

-

−C

+

-C

create/use a cache for updates and retries (C0 no cache,C1 cache is prioritary,* C2 test -update before) (−−cache[=N])

+update before) (--cache[=N])

-

−k

+

-k

store all files in cache (not useful if files on disk) -(−−store−all−in−cache)

+(--store-all-in-cache)

-

−%n

+

-%n

-

do not re−download locally erased files -(−−do−not−recatch)

+

do not re-download locally erased files +(--do-not-recatch)

-

−%v

+

-%v

-

display on screen filenames downloaded (in realtime) -− * %v1 short version − %v2 full animation -(−−display)

+

display on screen filenames downloaded (in realtime) - * +%v1 short version - %v2 full animation (--display)

-

−Q

+

-Q

-

no log − quiet mode -(−−do−not−log)

+

no log - quiet mode (--do-not-log)

-

−q

+

-q

-

no questions − quiet mode -(−−quiet)

+

no questions - quiet mode (--quiet)

-

−z

+

-z

-

log − extra infos -(−−extra−log)

+

log - extra infos (--extra-log)

-

−Z

+

-Z

-

log − debug (−−debug−log)

+

log - debug (--debug-log)

-

−v

+

-v

-

log on screen (−−verbose)

+

log on screen (--verbose)

-

−f

+

-f

-

*log in files (−−file−log)

+

*log in files (--file-log)

-

−f2

+

-f2

-

one single log file (−−single−log)

+

one single log file (--single-log)

-

−I

+

-I

-

*make an index (I0 don t make) (−−index)

+

*make an index (I0 don t make) (--index)

-

−%i

+

-%i

make a top index for a project folder (* %i0 don t make) -(−−build−top−index)

+(--build-top-index)

-

−%I

+

-%I

make an searchable index for this mirror (* %I0 don t -make) (−−search−index)

+make) (--search-index)

Expert @@ -1232,19 +1165,19 @@ options:

-

−pN

+

-pN

priority mode: (* p3) -(−−priority[=N])

+(--priority[=N])

-

−p0

+

-p0

@@ -1255,7 +1188,7 @@ options:

-

−p1

+

-p1

@@ -1266,7 +1199,7 @@ options:

-

−p2

+

-p2

@@ -1277,7 +1210,7 @@ options:

-

−*p3

+

-*p3

@@ -1288,7 +1221,7 @@ options:

-

−p7

+

-p7

@@ -1299,109 +1232,102 @@ options:

-

−S

+

-S

-

stay on the same directory -(−−stay−on−same−dir)

+

stay on the same directory (--stay-on-same-dir)

-

−D

+

-D

-

*can only go down into subdirs -(−−can−go−down)

+

*can only go down into subdirs (--can-go-down)

-

−U

+

-U

-

can only go to upper directories -(−−can−go−up)

+

can only go to upper directories (--can-go-up)

-

−B

+

-B

can both go up&down into the directory structure -(−−can−go−up−and−down)

+(--can-go-up-and-down)

-

−a

+

-a

-

*stay on the same address -(−−stay−on−same−address)

+

*stay on the same address (--stay-on-same-address)

-

−d

+

-d

stay on the same principal domain -(−−stay−on−same−domain)

+(--stay-on-same-domain)

-

−l

+

-l

-

stay on the same TLD (eg: .com) -(−−stay−on−same−tld)

+

stay on the same TLD (eg: .com) (--stay-on-same-tld)

-

−e

+

-e

-

go everywhere on the web -(−−go−everywhere)

+

go everywhere on the web (--go-everywhere)

-

−%H

+

-%H

-

debug HTTP headers in logfile -(−−debug−headers)

+

debug HTTP headers in logfile (--debug-headers)

Guru @@ -1414,223 +1340,218 @@ options: (do NOT use if possible)

-

−#X

+

-#X

*use optimized engine (limited -memory boundary checks) -(−−fast−engine)

+memory boundary checks) (--fast-engine)

-

−#0

+

-#0

-

filter test (−#0 *.gif www.bar.com/foo.gif ) -(−−debug−testfilters <param>)

+

filter test (-#0 *.gif www.bar.com/foo.gif ) +(--debug-testfilters <param>)

-

−#1

+

-#1

-

simplify test (−#1 ./foo/bar/../foobar)

+

simplify test (-#1 ./foo/bar/../foobar)

-

−#2

+

-#2

-

type test (−#2 /foo/bar.php)

+

type test (-#2 /foo/bar.php)

-

−#C

+

-#C

-

cache list (−#C *.com/spider*.gif -(−−debug−cache <param>)

+

cache list (-#C *.com/spider*.gif (--debug-cache +<param>)

-

−#R

+

-#R

-

cache repair (damaged cache) -(−−repair−cache)

+

cache repair (damaged cache) (--repair-cache)

-

−#d

+

-#d

-

debug parser (−−debug−parsing)

+

debug parser (--debug-parsing)

-

−#E

+

-#E

-

extract new.zip cache meta−data in meta.zip

+

extract new.zip cache meta-data in meta.zip

-

−#f

+

-#f

-

always flush log files -(−−advanced−flushlogs)

+

always flush log files (--advanced-flushlogs)

-

−#FN

+

-#FN

maximum number of filters -(−−advanced−maxfilters[=N])

+(--advanced-maxfilters[=N])

-

−#h

+

-#h

-

version info (−−version)

+

version info (--version)

-

−#K

+

-#K

-

scan stdin (debug) -(−−debug−scanstdin)

+

scan stdin (debug) (--debug-scanstdin)

-

−#L

+

-#L

-

maximum number of links (−#L1000000) -(−−advanced−maxlinks[=N])

+

maximum number of links (-#L1000000) +(--advanced-maxlinks[=N])

-

−#p

+

-#p

display ugly progress information -(−−advanced−progressinfo)

+(--advanced-progressinfo)

-

−#P

+

-#P

-

catch URL (−−catch−url)

+

catch URL (--catch-url)

-

−#R

+

-#R

-

old FTP routines (debug) -(−−repair−cache)

+

old FTP routines (debug) (--repair-cache)

-

−#T

+

-#T

generate transfer ops. log every minutes -(−−debug−xfrstats)

+(--debug-xfrstats)

-

−#u

+

-#u

-

wait time (−−advanced−wait)

+

wait time (--advanced-wait)

-

−#Z

+

-#Z

generate transfer rate statictics every minutes -(−−debug−ratestats)

+(--debug-ratestats)

Dangerous @@ -1644,18 +1565,17 @@ doing)

-

−%!

+

-%!

-

bypass built−in security -limits aimed to avoid bandwidth abuses (bandwidth, -simultaneous connections) -(−−disable−security−limits)

+

bypass built-in security limits +aimed to avoid bandwidth abuses (bandwidth, simultaneous +connections) (--disable-security-limits)

-

−IMPORTANT

+

-IMPORTANT

NOTE: DANGEROUS OPTION, ONLY SUITABLE FOR EXPERTS

@@ -1667,7 +1587,7 @@ SUITABLE FOR EXPERTS

-

−USE

+

-USE

@@ -1678,7 +1598,7 @@ SUITABLE FOR EXPERTS

-

Command−line +

Command-line specific options:

+

-V

+each files ($0 is the filename: -V "rm \$0") +(--userdef-cmd <param>)

+

-%W

+

use an external library function as a wrapper (-%W +myfoo.so[,myparameters]) (--callback <param>)

-

−V

execute system command after -each files ($0 is the filename: −V "rm \$0") -(−−userdef−cmd <param>)

-

−%W

-

use an external library function as a wrapper (−%W -myfoo.so[,myparameters]) (−−callback -<param>)

Details: @@ -1721,19 +1640,18 @@ Option N

-

−N0

+

-N0

-

Site−structure -(default)

+

Site-structure (default)

-

−N1

+

-N1

@@ -1744,7 +1662,7 @@ Option N

-

−N2

+

-N2

@@ -1755,7 +1673,7 @@ Option N

-

−N3

+

-N3

@@ -1766,7 +1684,7 @@ Option N

-

−N4

+

-N4

@@ -1779,7 +1697,7 @@ example)

-

−N5

+

-N5

@@ -1790,7 +1708,7 @@ example)

-

−N99

+

-N99

@@ -1801,18 +1719,18 @@ example)

-

−N100

+

-N100

-

Site−structure, without www.domain.xxx/

+

Site-structure, without www.domain.xxx/

-

−N101

+

-N101

@@ -1824,7 +1742,7 @@ by the site s name

-

−N102

+

-N102

@@ -1836,7 +1754,7 @@ by the site s name

-

−N103

+

-N103

@@ -1848,7 +1766,7 @@ by the site s name

-

−N104

+

-N104

@@ -1860,7 +1778,7 @@ by the site s name

-

−N105

+

-N105

@@ -1872,7 +1790,7 @@ by the site s name

-

−N199

+

-N199

@@ -1884,7 +1802,7 @@ by the site s name

-

−N1001

+

-N1001

@@ -1896,7 +1814,7 @@ directory

-

−N1002

+

-N1002

@@ -1908,7 +1826,7 @@ directory

-

−N1003

+

-N1003

@@ -1920,7 +1838,7 @@ directory (option set for g option)

-

−N1004

+

-N1004

@@ -1932,7 +1850,7 @@ directory

-

−N1005

+

-N1005

@@ -1944,7 +1862,7 @@ directory

-

−N1099

+

-N1099

@@ -1954,7 +1872,7 @@ directory

Details: -User−defined option N
+User-defined option N
%n Name of file without file type (ex: image)
%N Name of file, including file type (ex: image.gif)
%t File type (ex: gif)
@@ -1971,8 +1889,8 @@ User−defined option N
extraction

Details: -User−defined option N and advanced variable -extraction
+User-defined option N and advanced variable extraction +
%[param:before:after:empty:notfound]


+

-param

-

−param

@@ -1992,7 +1910,7 @@ extraction
-

−before

+

-before

: string to prepend if the parameter was found

@@ -2004,7 +1922,7 @@ parameter was found

-

−after

+

-after

@@ -2014,7 +1932,7 @@ parameter was found

-

−notfound

+

-notfound

: string replacement if the parameter could not be found

@@ -2026,7 +1944,7 @@ parameter could not be found

-

−empty

+

-empty

@@ -2037,7 +1955,7 @@ parameter could not be found

-

−all

+

-all

@@ -2056,66 +1974,65 @@ Option K

-

−K0

+

-K0

-

foo.cgi?q=45 −> +

foo.cgi?q=45 -> foo4B54.html?q=45 (relative URI, default)

-

−K

+

-K

-

−> http://www.foobar.com/folder/foo.cgi?q=45 -(absolute URL) (−−keep−links[=N])

+

-> http://www.foobar.com/folder/foo.cgi?q=45 +(absolute URL) (--keep-links[=N])

-

−K3

+

-K3

-

−> /folder/foo.cgi?q=45 (absolute URI)

+

-> /folder/foo.cgi?q=45 (absolute URI)

-

−K4

+

-K4

-

−> foo.cgi?q=45 (original URL)

+

-> foo.cgi?q=45 (original URL)

-

−K5

+

-K5

-

−> -http://www.foobar.com/folder/foo4B54.html?q=45 (transparent -proxy URL)

+

-> http://www.foobar.com/folder/foo4B54.html?q=45 +(transparent proxy URL)

Shortcuts:
-−−mirror

+--mirror

<URLs> *make a mirror of site(s) (default)

@@ -2127,76 +2044,75 @@ site(s) (default)

-

−−get

+

--get

<URLs> get the files indicated, do not seek other -URLs (−qg)

+URLs (-qg)

-

−−list

+

--list

<text file> add all URL located in this text file -(−%L)

+(-%L)

-

−−mirrorlinks

+

--mirrorlinks

<URLs> mirror all links -in 1st level pages (−Y)

+in 1st level pages (-Y)

-

−−testlinks

+

--testlinks

<URLs> test links in -pages (−r1p0C0I0t)

+pages (-r1p0C0I0t)

-

−−spider

+

--spider

<URLs> spider site(s), to -test links: reports Errors & Warnings -(−p0C0I0t)

+test links: reports Errors & Warnings (-p0C0I0t)

-

−−testsite

+

--testsite

<URLs> identical to -−−spider

+--spider

-

−−skeleton

+

--skeleton

<URLs> make a mirror, but -gets only html files (−p1)

+gets only html files (-p1)

-

−−update

+

--update

update a mirror, without -confirmation (−iC2)

+confirmation (-iC2)

-

−−continue

+

--continue

continue a mirror, without -confirmation (−iC1)

+confirmation (-iC1)

-

−−catchurl

+

--catchurl

create a temporary proxy to capture an URL or a form post URL

-

−−clean

+

--clean

erase cache & log files

-

−−http10

+

--http10

force http/1.0 requests -(−%h)

+(-%h)

Details: Option %W: External callbacks prototypes
@@ -2241,8 +2157,8 @@ file.

Errors/Warnings -are reported to hts−log.txt by default, or to -stderr if the -v option was specified.

+are reported to hts-log.txt by default, or to stderr +if the -v option was specified.

LIMITS @@ -2286,7 +2202,7 @@ other information you deem necessary.

Copyright (C) -1998-2017 Xavier Roche and other contributors

+1998-2023 Xavier Roche and other contributors

This program is free software: you can redistribute it and/or modify it -- cgit v1.2.3