-
Notifications
You must be signed in to change notification settings - Fork 24
/
.wgetrc
50 lines (41 loc) · 2.37 KB
/
.wgetrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# By default, resume transfers by starting the download at N bytes, where N is
# the current size of the local file. Note that this can be dangerous when you
# want to overwrite an existing file. In that case, you can use "-O your.file"
# to force overwriting, or "--continue=no" to disable resuming.
continue = on
# Do not go up in the directory structure when downloading recursively.
no_parent = on
# Don't wait too long before timing out. This applies to all timeouts: DNS,
# connect and read. (The default read timeout is 15 minutes!)
timeout = 60
# Retry a few times when a download fails, but don't overdo it. (Default is 20!)
tries = 3
# Retry even when the connection was refused.
retry_connrefused = on
# Use UTF-8 for local HTML files (as they have no Content-Type header).
# (Disabled because too many systems run with an outdated or underconfigured
# Wget. Debian 5.0 has Wget 1.11, which does not know "local_encoding" or
# "iri". Debian 6.0 comes with 1.12 but without IRI support; MacPorts has 1.13
# and includes IRI support.)
#local_encoding = UTF-8
# Enable Internationalized Resource Identifiers, so non-ASCII characters in
# URLs and filenames are OK. (Disabled; see "local_encoding".)
#iri = on
# Use the Content-Disposition header, if any, to use the correct destination
# filename. This will save "http://example.com/download.php?id=123" as
# "foo.txt" instead of "download.php?id=123" when there is a header that says
# "Content-Disposition: ...; filename=foo.txt".
#content_disposition = on # Commented out due to extreme bugginess.
# Disguise as Chrome on Windows.
user_agent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
# Determine the amount of data that is represented by one line of dots when
# the progress style is "dot". "Dot" is the default style when Wget is run in
# the background (e.g. using "wget -b" or "nohup wget"). Based on the source
# code, these are the values:
# * default: 1 dot = 1 KiB, 1 cluster = 10 dots, 1 line = 5 clusters = 50 KiB
# * binary: 1 dot = 8 KiB, 1 cluster = 16 dots, 1 line = 3 clusters = 384 KiB
# * mega: 1 dot = 64 KiB, 1 cluster = 8 dots, 1 line = 6 clusters = 3 MiB
# * giga: 1 dot = 1 MiB, 1 cluster = 8 dots, 1 line = 4 clusters = 32 MiB
# Note that you can override this with the "dot_bytes", "dot_spacing" and
# "dots_in_line" settings.
dot_style = mega