1 # https://www.gnu.org/software/wget/manual/wget.html#Startup-File
3 # accept/reject = string
5 ### Same as '-A'/'-R' (see Types of Files <#Types-of-Files>).
9 ### Enable/disable host-prefixed file names. '-nH' disables it.
11 # ask_password = on/off
13 ### Prompt for a password for each connection established. Cannot be
14 ### specified when '--password' is being used, because they are mutually
15 ### exclusive. Equivalent to '--ask-password'.
17 # auth_no_challenge = on/off
19 ### If this option is given, Wget will send Basic HTTP authentication
20 ### information (plaintext username and password) for all requests. See
21 ### '--auth-no-challenge'.
25 ### Enable/disable going to background-the same as '-b' (which enables it).
27 # backup_converted = on/off
29 ### Enable/disable saving pre-converted files with the suffix
30 ### '.orig'-the same as '-K' (which enables it).
34 ### Use up to number backups for a file. Backups are rotated by adding
35 ### an incremental counter that starts at '1'. The default is '0'.
39 ### Consider relative URLs in input files (specified via the 'input'
40 ### command or the '--input-file'/'-i' option, together with
41 ### 'force_html' or '--force-html') as being relative to string-the same
42 ### as '--base=string'.
44 # bind_address = address
46 ### Bind to address, like the '--bind-address=address'.
48 # ca_certificate = file
50 ### Set the certificate authority bundle file to file. The same as
51 ### '--ca-certificate=file'.
53 # ca_directory = directory
55 ### Set the directory used for certificate authorities. The same as
56 ### '--ca-directory=directory'.
60 ### When set to off, disallow server-caching. See the '--no-cache' option.
64 ### Set the client certificate file name to file. The same as
65 ### '--certificate=file'.
67 # certificate_type = string
69 ### Specify the type of the client certificate, legal values being 'PEM'
70 ### (the default) and 'DER' (aka ASN1). The same as
71 ### '--certificate-type=string'.
73 # check_certificate = on/off
75 ### If this is set to off, the server certificate is not checked against
76 ### the specified client authorities. The default is "on". The same as
77 ### '--check-certificate'.
81 ### Set the connect timeout-the same as '--connect-timeout'.
83 # content_disposition = on/off
85 ### Turn on recognition of the (non-standard) 'Content-Disposition' HTTP
86 ### header-if set to 'on', the same as '--content-disposition'.
88 # trust_server_names = on/off
89 trust_server_names = on
91 ### If set to on, use the last component of a redirection URL for the
97 ### If set to on, force continuation of preexistent partially retrieved
98 ### files. See '-c' before setting it.
100 # convert_links = on/off
103 ### Convert non-relative links locally. The same as '-k'.
107 ### When set to off, disallow cookies. See the '--cookies' option.
111 ### Ignore n remote directory components. Equivalent to '--cut-dirs=n'.
115 ### Debug mode, same as '-d'.
117 # default_page = string
119 ### Default page name-the same as '--default-page=string'.
121 # delete_after = on/off
123 ### Delete after download-the same as '--delete-after'.
125 # dir_prefix = string
127 ### Top of directory tree-the same as '-P string'.
131 ### Turning dirstruct on or off-the same as '-x' or '-nd', respectively.
135 ### Turn DNS caching on/off. Since DNS caching is on by default, this
136 ### option is normally used to turn it off and is equivalent to
137 ### '--no-dns-cache'.
141 ### Set the DNS timeout-the same as '--dns-timeout'.
145 ### Same as '-D' (see Spanning Hosts <#Spanning-Hosts>).
149 ### Specify the number of bytes "contained" in a dot, as seen throughout
150 ### the retrieval (1024 by default). You can postfix the value with 'k'
151 ### or 'm', representing kilobytes and megabytes, respectively. With dot
152 ### settings you can tailor the dot retrieval to suit your needs, or you
153 ### can use the predefined /styles/ (see Download Options
154 ### <#Download-Options>).
158 ### Specify the number of dots in a single cluster (10 by default).
162 ### Specify the number of dots that will be printed in each line
163 ### throughout the retrieval (50 by default).
167 ### Use string as the EGD socket file name. The same as '--egd-file=file'.
169 # exclude_directories = string
171 ### Specify a comma-separated list of directories you wish to exclude
172 ### from download-the same as '-X string' (see Directory-Based Limits
173 ### <#Directory_002dBased-Limits>).
175 # exclude_domains = string
177 ### Same as '--exclude-domains=string' (see Spanning Hosts
178 ### <#Spanning-Hosts>).
180 # follow_ftp = on/off
182 ### Follow FTP links from HTML documents-the same as '--follow-ftp'.
184 # follow_tags = string
186 ### Only follow certain HTML tags when doing a recursive retrieval, just
187 ### like '--follow-tags=string'.
189 # force_html = on/off
191 ### If set to on, force the input filename to be regarded as an HTML
192 ### document-the same as '-F'.
194 # ftp_password = string
196 ### Set your FTP password to string. Without this setting, the password
197 ### defaults to '-wget@', which is a useful default for anonymous FTP
200 ### This command used to be named |passwd| prior to Wget 1.10.
204 ### Use string as FTP proxy, instead of the one specified in environment.
208 ### Set FTP user to string.
210 ### This command used to be named |login| prior to Wget 1.10.
214 ### Turn globbing on/off-the same as '--glob' and '--no-glob'.
218 header = Accept: text/html,application/xhtml+xml,application/xml;q=0.8,*/*;q=0.5
219 header = Accept-Language: ru-ru,ru;q=0.8;en-us;q=0.6,en;q=0.4
220 header = Connection: keep-alive
222 ### Define headers for HTTP downloads, like using '--header=string'.
224 # adjust_extension = on/off
226 ### Add a '.html' extension to 'text/html' or 'application/xhtml+xml'
227 ### files that lack one, or a '.css' extension to 'text/css' files that
228 ### lack one, like '-E'. Previously named 'html_extension' (still
229 ### acceptable, but deprecated).
231 # http_keep_alive = on/off
233 ### Turn the keep-alive feature on or off (defaults to on). Turning it
234 ### off is equivalent to '--no-http-keep-alive'.
236 # http_password = string
238 ### Set HTTP password, equivalent to '--http-password=string'.
240 # http_proxy = string
242 ### Use string as HTTP proxy, instead of the one specified in environment.
246 ### Set HTTP user to string, equivalent to '--http-user=string'.
248 # https_only = on/off
250 ### When in recursive mode, only HTTPS links are followed (defaults to
253 # https_proxy = string
255 ### Use string as HTTPS proxy, instead of the one specified in environment.
257 # ignore_case = on/off
259 ### When set to on, match files and directories case insensitively; the
260 ### same as '--ignore-case'.
262 # ignore_length = on/off
264 ### When set to on, ignore |Content-Length| header; the same as
265 ### '--ignore-length'.
267 # ignore_tags = string
269 ### Ignore certain HTML tags when doing a recursive retrieval, like
270 ### '--ignore-tags=string'.
272 # include_directories = string
274 ### Specify a comma-separated list of directories you wish to follow
275 ### when downloading-the same as '-I string'.
279 ### When set to on, enable internationalized URI (IRI) support; the same
282 # inet4_only = on/off
285 ### Force connecting to IPv4 addresses, off by default. You can put this
286 ### in the global init file to disable Wget's attempts to resolve and
287 ### connect to IPv6 hosts. Available only if Wget was compiled with IPv6
288 ### support. The same as '--inet4-only' or '-4'.
290 # inet6_only = on/off
292 ### Force connecting to IPv6 addresses, off by default. Available only
293 ### if Wget was compiled with IPv6 support. The same as '--inet6-only'
298 ### Read the URLs from string, like '-i file'.
300 # keep_session_cookies = on/off
302 ### When specified, causes 'save_cookies = on' to also save session
303 ### cookies. See '--keep-session-cookies'.
307 ### Limit the download speed to no more than rate bytes per second. The
308 ### same as '--limit-rate=rate'.
310 # load_cookies = file
312 ### Load cookies from file. See '--load-cookies file'.
314 # local_encoding = encoding
316 ### Force Wget to use encoding as the default system encoding. See
317 ### '--local-encoding'.
321 ### Set logfile to file, the same as '-o file'.
323 # max_redirect = number
325 ### Specifies the maximum number of redirections to follow for a
326 ### resource. See '--max-redirect=number'.
330 ### Turn mirroring on/off. The same as '-m'.
334 ### Turn reading netrc on or off.
336 # no_clobber = on/off
343 ### Disallow retrieving outside the directory hierarchy, like
344 ### '--no-parent' (see Directory-Based Limits
345 ### <#Directory_002dBased-Limits>).
349 ### Use string as the comma-separated list of domains to avoid in proxy
350 ### loading, instead of the one specified in environment.
352 # output_document = file
354 ### Set the output filename-the same as '-O file'.
356 # page_requisites = on/off
358 ### Download all ancillary documents necessary for a single HTML page to
359 ### display properly-the same as '-p'.
361 # passive_ftp = on/off
363 ### Change setting of passive FTP, equivalent to the '--passive-ftp'
368 ### Specify password string for both FTP and HTTP file retrieval. This
369 ### command can be overridden using the 'ftp_password' and
370 ### 'http_password' command for FTP and HTTP respectively.
374 ### Use POST as the method for all HTTP requests and send string in the
375 ### request body. The same as '--post-data=string'.
379 ### Use POST as the method for all HTTP requests and send the contents
380 ### of file in the request body. The same as '--post-file=file'.
382 # prefer_family = none/IPv4/IPv6
384 ### When given a choice of several addresses, connect to the addresses
385 ### with specified address family first. The address order returned by
386 ### DNS is used without change by default. The same as
387 ### '--prefer-family', which see for a detailed discussion of why this
392 ### Set the private key file to file. The same as '--private-key=file'.
394 # private_key_type = string
396 ### Specify the type of the private key, legal values being 'PEM' (the
397 ### default) and 'DER' (aka ASN1). The same as '--private-type=string'.
400 progress = bar:noscroll
402 ### Set the type of the progress indicator. Legal types are 'dot' and
403 ### 'bar'. Equivalent to '--progress=string'.
405 # protocol_directories = on/off
407 ### When set, use the protocol name as a directory component of local
408 ### file names. The same as '--protocol-directories'.
410 # proxy_password = string
412 ### Set proxy authentication password to string, like
413 ### '--proxy-password=string'.
415 # proxy_user = string
417 ### Set proxy authentication user name to string, like
418 ### '--proxy-user=string'.
422 ### Quiet mode-the same as '-q'.
426 ### Specify the download quota, which is useful to put in the global
427 ### wgetrc. When download quota is specified, Wget will stop retrieving
428 ### after the download sum has become greater than quota. The quota can
429 ### be specified in bytes (default), kbytes 'k' appended) or mbytes ('m'
430 ### appended). Thus 'quota = 5m' will set the quota to 5 megabytes. Note
431 ### that the user's startup file overrides system settings.
435 ### Use file as a source of randomness on systems lacking /dev/random.
437 # random_wait = on/off
439 ### Turn random between-request wait times on or off. The same as
444 ### Set the read (and write) timeout-the same as '--read-timeout=n'.
448 ### Recursion level (depth)-the same as '-l n'.
452 ### Recursive on/off-the same as '-r'.
457 ### Set HTTP 'Referer:' header just like '--referer=string'. (Note that
458 ### it was the folks who wrote the HTTP spec who got the spelling of
459 ### "referrer" wrong.)
461 # relative_only = on/off
463 ### Follow only relative links-the same as '-L' (see Relative Links
464 ### <#Relative-Links>).
466 # remote_encoding = encoding
468 ### Force Wget to use encoding as the default remote server encoding.
469 ### See '--remote-encoding'.
471 # remove_listing = on/off
473 ### If set to on, remove FTP listings downloaded by Wget. Setting it to
474 ### off is the same as '--no-remove-listing'.
476 # restrict_file_names = unix/windows
478 ### Restrict the file names generated by Wget from URLs. See
479 ### '--restrict-file-names' for a more detailed description.
481 # retr_symlinks = on/off
483 ### When set to on, retrieve symbolic links as if they were plain files;
484 ### the same as '--retr-symlinks'.
486 # retry_connrefused = on/off
488 ### When set to on, consider "connection refused" a transient error-the
489 ### same as '--retry-connrefused'.
493 # Ignore `robots.txt` and `<meta name=robots content=nofollow>`
496 ### Specify whether the norobots convention is respected by Wget, "on"
497 ### by default. This switch controls both the /robots.txt and the
498 ### 'nofollow' aspect of the spec. See Robot Exclusion
499 ### <#Robot-Exclusion>, for more details about this. Be sure you know
500 ### what you are doing before turning this off.
502 # save_cookies = file
504 ### Save cookies to file. The same as '--save-cookies file'.
506 # save_headers = on/off
508 ### Same as '--save-headers'.
510 # secure_protocol = string
512 ### Choose the secure protocol to be used. Legal values are 'auto' (the
513 ### default), 'SSLv2', 'SSLv3', and 'TLSv1'. The same as
514 ### '--secure-protocol=string'.
516 # server_response = on/off
518 ### Choose whether or not to print the HTTP and FTP server responses-the
521 # show_all_dns_entries = on/off
523 ### When a DNS name is resolved, show all the IP addresses, not just the
526 # span_hosts = on/off
532 ### Same as '--spider'.
534 # strict_comments = on/off
536 ### Same as '--strict-comments'.
540 # Wait 60 seconds before timing out. This applies to all timeouts:
541 # DNS, connect and read. (The default read timeout is 15 minutes!)
544 ### Set all applicable timeout values to n, the same as '-T n'.
546 # timestamping = on/off
549 ### Turn timestamping on/off. The same as '-N' (see Time-Stamping
550 ### <#Time_002dStamping>).
552 # use_server_timestamps = on/off
554 ### If set to 'off', Wget won't set the local file's timestamp by the
555 ### one on the server (same as '--no-use-server-timestamps').
559 # Retry a few times when a download fails, but don't overdo it.
560 # (The default is 20!)
563 ### Set number of retries per URL-the same as '-t n'.
568 ### When set to off, don't use proxy even when proxy-related environment
569 ### variables are set. In that case it is the same as using '--no-proxy'.
573 ### Specify username string for both FTP and HTTP file retrieval. This
574 ### command can be overridden using the 'ftp_user' and 'http_user'
575 ### command for FTP and HTTP respectively.
577 # user_agent = string
579 # Disguise as Firefox on NT
580 user_agent = Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
582 ### User agent identification sent to the HTTP Server-the same as
583 ### '--user-agent=string'.
587 ### Turn verbose on/off-the same as '-v'/'-nv'.
591 ### Wait n seconds between retrievals-the same as '-w n'.
595 ### Wait up to n seconds between retries of failed retrievals only-the
596 ### same as '--waitretry=n'. Note that this is turned on by default in
597 ### the global wgetrc.