]> git.phdru.name Git - dotfiles.git/blob - .wgetrc
.vimrc: Set `visualbell` and `belloff`
[dotfiles.git] / .wgetrc
1 # https://www.gnu.org/software/wget/manual/wget.html#Startup-File
2
3 # accept/reject = string
4
5 ### Same as '-A'/'-R' (see Types of Files <#Types-of-Files>).
6
7 # add_hostdir = on/off
8
9 ### Enable/disable host-prefixed file names. '-nH' disables it.
10
11 # ask_password = on/off
12
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'.
16
17 # auth_no_challenge = on/off
18
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'.
22
23 # background = on/off
24
25 ### Enable/disable going to background-the same as '-b' (which enables it).
26
27 # backup_converted = on/off
28
29 ### Enable/disable saving pre-converted files with the suffix
30 ### '.orig'-the same as '-K' (which enables it).
31
32 # backups = number
33
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'.
36
37 # base = string
38
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'.
43
44 # bind_address = address
45
46 ### Bind to address, like the '--bind-address=address'.
47
48 # ca_certificate = file
49
50 ### Set the certificate authority bundle file to file. The same as
51 ### '--ca-certificate=file'.
52
53 # ca_directory = directory
54
55 ### Set the directory used for certificate authorities. The same as
56 ### '--ca-directory=directory'.
57
58 # cache = on/off
59
60 ### When set to off, disallow server-caching. See the '--no-cache' option.
61
62 # certificate = file
63
64 ### Set the client certificate file name to file. The same as
65 ### '--certificate=file'.
66
67 # certificate_type = string
68
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'.
72
73 # check_certificate = on/off
74
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'.
78
79 # connect_timeout = n
80
81 ### Set the connect timeout-the same as '--connect-timeout'.
82
83 # content_disposition = on/off
84
85 ### Turn on recognition of the (non-standard) 'Content-Disposition' HTTP
86 ### header-if set to 'on', the same as '--content-disposition'.
87
88 # trust_server_names = on/off
89 trust_server_names = on
90
91 ### If set to on, use the last component of a redirection URL for the
92 ### local file name.
93
94 # continue = on/off
95 continue = on
96
97 ### If set to on, force continuation of preexistent partially retrieved
98 ### files. See '-c' before setting it.
99
100 # convert_links = on/off
101 convert_links = on
102
103 ### Convert non-relative links locally. The same as '-k'.
104
105 # cookies = on/off
106
107 ### When set to off, disallow cookies. See the '--cookies' option.
108
109 # cut_dirs = n
110
111 ### Ignore n remote directory components. Equivalent to '--cut-dirs=n'.
112
113 # debug = on/off
114
115 ### Debug mode, same as '-d'.
116
117 # default_page = string
118
119 ### Default page name-the same as '--default-page=string'.
120
121 # delete_after = on/off
122
123 ### Delete after download-the same as '--delete-after'.
124
125 # dir_prefix = string
126
127 ### Top of directory tree-the same as '-P string'.
128
129 # dirstruct = on/off
130
131 ### Turning dirstruct on or off-the same as '-x' or '-nd', respectively.
132
133 # dns_cache = on/off
134
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'.
138
139 # dns_timeout = n
140
141 ### Set the DNS timeout-the same as '--dns-timeout'.
142
143 # domains = string
144
145 ### Same as '-D' (see Spanning Hosts <#Spanning-Hosts>).
146
147 # dot_bytes = n
148
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>).
155
156 # dot_spacing = n
157
158 ### Specify the number of dots in a single cluster (10 by default).
159
160 # dots_in_line = n
161
162 ### Specify the number of dots that will be printed in each line
163 ### throughout the retrieval (50 by default).
164
165 # egd_file = file
166
167 ### Use string as the EGD socket file name. The same as '--egd-file=file'.
168
169 # exclude_directories = string
170
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>).
174
175 # exclude_domains = string
176
177 ### Same as '--exclude-domains=string' (see Spanning Hosts
178 ### <#Spanning-Hosts>).
179
180 # follow_ftp = on/off
181
182 ### Follow FTP links from HTML documents-the same as '--follow-ftp'.
183
184 # follow_tags = string
185
186 ### Only follow certain HTML tags when doing a recursive retrieval, just
187 ### like '--follow-tags=string'.
188
189 # force_html = on/off
190
191 ### If set to on, force the input filename to be regarded as an HTML
192 ### document-the same as '-F'.
193
194 # ftp_password = string
195
196 ### Set your FTP password to string. Without this setting, the password
197 ### defaults to '-wget@', which is a useful default for anonymous FTP
198 ### access.
199
200 ### This command used to be named |passwd| prior to Wget 1.10.
201
202 # ftp_proxy = string
203
204 ### Use string as FTP proxy, instead of the one specified in environment.
205
206 # ftp_user = string
207
208 ### Set FTP user to string.
209
210 ### This command used to be named |login| prior to Wget 1.10.
211
212 # glob = on/off
213
214 ### Turn globbing on/off-the same as '--glob' and '--no-glob'.
215
216 # header = string
217
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
221
222 ### Define headers for HTTP downloads, like using '--header=string'.
223
224 # adjust_extension = on/off
225
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).
230
231 # http_keep_alive = on/off
232
233 ### Turn the keep-alive feature on or off (defaults to on). Turning it
234 ### off is equivalent to '--no-http-keep-alive'.
235
236 # http_password = string
237
238 ### Set HTTP password, equivalent to '--http-password=string'.
239
240 # http_proxy = string
241
242 ### Use string as HTTP proxy, instead of the one specified in environment.
243
244 # http_user = string
245
246 ### Set HTTP user to string, equivalent to '--http-user=string'.
247
248 # https_only = on/off
249
250 ### When in recursive mode, only HTTPS links are followed (defaults to
251 ### off).
252
253 # https_proxy = string
254
255 ### Use string as HTTPS proxy, instead of the one specified in environment.
256
257 # ignore_case = on/off
258
259 ### When set to on, match files and directories case insensitively; the
260 ### same as '--ignore-case'.
261
262 # ignore_length = on/off
263
264 ### When set to on, ignore |Content-Length| header; the same as
265 ### '--ignore-length'.
266
267 # ignore_tags = string
268
269 ### Ignore certain HTML tags when doing a recursive retrieval, like
270 ### '--ignore-tags=string'.
271
272 # include_directories = string
273
274 ### Specify a comma-separated list of directories you wish to follow
275 ### when downloading-the same as '-I string'.
276
277 # iri = on/off
278
279 ### When set to on, enable internationalized URI (IRI) support; the same
280 ### as '--iri'.
281
282 # inet4_only = on/off
283 inet4_only = on
284
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'.
289
290 # inet6_only = on/off
291
292 ### Force connecting to IPv6 addresses, off by default. Available only
293 ### if Wget was compiled with IPv6 support. The same as '--inet6-only'
294 ### or '-6'.
295
296 # input = file
297
298 ### Read the URLs from string, like '-i file'.
299
300 # keep_session_cookies = on/off
301
302 ### When specified, causes 'save_cookies = on' to also save session
303 ### cookies. See '--keep-session-cookies'.
304
305 # limit_rate = rate
306
307 ### Limit the download speed to no more than rate bytes per second. The
308 ### same as '--limit-rate=rate'.
309
310 # load_cookies = file
311
312 ### Load cookies from file. See '--load-cookies file'.
313
314 # local_encoding = encoding
315
316 ### Force Wget to use encoding as the default system encoding. See
317 ### '--local-encoding'.
318
319 # logfile = file
320
321 ### Set logfile to file, the same as '-o file'.
322
323 # max_redirect = number
324
325 ### Specifies the maximum number of redirections to follow for a
326 ### resource. See '--max-redirect=number'.
327
328 # mirror = on/off
329
330 ### Turn mirroring on/off. The same as '-m'.
331
332 # netrc = on/off
333
334 ### Turn reading netrc on or off.
335
336 # no_clobber = on/off
337
338 ### Same as '-nc'.
339
340 # no_parent = on/off
341 no_parent = on
342
343 ### Disallow retrieving outside the directory hierarchy, like
344 ### '--no-parent' (see Directory-Based Limits
345 ### <#Directory_002dBased-Limits>).
346
347 # no_proxy = string
348
349 ### Use string as the comma-separated list of domains to avoid in proxy
350 ### loading, instead of the one specified in environment.
351
352 # output_document = file
353
354 ### Set the output filename-the same as '-O file'.
355
356 # page_requisites = on/off
357
358 ### Download all ancillary documents necessary for a single HTML page to
359 ### display properly-the same as '-p'.
360
361 # passive_ftp = on/off
362
363 ### Change setting of passive FTP, equivalent to the '--passive-ftp'
364 ### option.
365
366 # password = string
367
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.
371
372 # post_data = string
373
374 ### Use POST as the method for all HTTP requests and send string in the
375 ### request body. The same as '--post-data=string'.
376
377 # post_file = file
378
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'.
381
382 # prefer_family = none/IPv4/IPv6
383
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
388 ### is useful.
389
390 # private_key = file
391
392 ### Set the private key file to file. The same as '--private-key=file'.
393
394 # private_key_type = string
395
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'.
398
399 # progress = string
400 progress = bar:noscroll
401
402 ### Set the type of the progress indicator. Legal types are 'dot' and
403 ### 'bar'. Equivalent to '--progress=string'.
404
405 # protocol_directories = on/off
406
407 ### When set, use the protocol name as a directory component of local
408 ### file names. The same as '--protocol-directories'.
409
410 # proxy_password = string
411
412 ### Set proxy authentication password to string, like
413 ### '--proxy-password=string'.
414
415 # proxy_user = string
416
417 ### Set proxy authentication user name to string, like
418 ### '--proxy-user=string'.
419
420 # quiet = on/off
421
422 ### Quiet mode-the same as '-q'.
423
424 # quota = quota
425
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.
432
433 # random_file = file
434
435 ### Use file as a source of randomness on systems lacking /dev/random.
436
437 # random_wait = on/off
438
439 ### Turn random between-request wait times on or off. The same as
440 ### '--random-wait'.
441
442 # read_timeout = n
443
444 ### Set the read (and write) timeout-the same as '--read-timeout=n'.
445
446 # reclevel = n
447
448 ### Recursion level (depth)-the same as '-l n'.
449
450 # recursive = on/off
451
452 ### Recursive on/off-the same as '-r'.
453
454 # referer = string
455 referer = /
456
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.)
460
461 # relative_only = on/off
462
463 ### Follow only relative links-the same as '-L' (see Relative Links
464 ### <#Relative-Links>).
465
466 # remote_encoding = encoding
467
468 ### Force Wget to use encoding as the default remote server encoding.
469 ### See '--remote-encoding'.
470
471 # remove_listing = on/off
472
473 ### If set to on, remove FTP listings downloaded by Wget. Setting it to
474 ### off is the same as '--no-remove-listing'.
475
476 # restrict_file_names = unix/windows
477
478 ### Restrict the file names generated by Wget from URLs. See
479 ### '--restrict-file-names' for a more detailed description.
480
481 # retr_symlinks = on/off
482
483 ### When set to on, retrieve symbolic links as if they were plain files;
484 ### the same as '--retr-symlinks'.
485
486 # retry_connrefused = on/off
487
488 ### When set to on, consider "connection refused" a transient error-the
489 ### same as '--retry-connrefused'.
490
491 # robots = on/off
492
493 # Ignore `robots.txt` and `<meta name=robots content=nofollow>`
494 robots = off
495
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.
501
502 # save_cookies = file
503
504 ### Save cookies to file. The same as '--save-cookies file'.
505
506 # save_headers = on/off
507
508 ### Same as '--save-headers'.
509
510 # secure_protocol = string
511
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'.
515
516 # server_response = on/off
517
518 ### Choose whether or not to print the HTTP and FTP server responses-the
519 ### same as '-S'.
520
521 # show_all_dns_entries = on/off
522
523 ### When a DNS name is resolved, show all the IP addresses, not just the
524 ### first three.
525
526 # span_hosts = on/off
527
528 ### Same as '-H'.
529
530 # spider = on/off
531
532 ### Same as '--spider'.
533
534 # strict_comments = on/off
535
536 ### Same as '--strict-comments'.
537
538 # timeout = n
539
540 # Wait 60 seconds before timing out. This applies to all timeouts:
541 # DNS, connect and read. (The default read timeout is 15 minutes!)
542 timeout = 60
543
544 ### Set all applicable timeout values to n, the same as '-T n'.
545
546 # timestamping = on/off
547 timestamping = on
548
549 ### Turn timestamping on/off. The same as '-N' (see Time-Stamping
550 ### <#Time_002dStamping>).
551
552 # use_server_timestamps = on/off
553
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').
556
557 # tries = n
558
559 # Retry a few times when a download fails, but don't overdo it.
560 # (The default is 20!)
561 tries = 3
562
563 ### Set number of retries per URL-the same as '-t n'.
564
565 # use_proxy = on/off
566 use_proxy = off
567
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'.
570
571 # user = string
572
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.
576
577 # user_agent = string
578
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
581
582 ### User agent identification sent to the HTTP Server-the same as
583 ### '--user-agent=string'.
584
585 # verbose = on/off
586
587 ### Turn verbose on/off-the same as '-v'/'-nv'.
588
589 # wait = n
590
591 ### Wait n seconds between retrievals-the same as '-w n'.
592
593 # wait_retry = n
594
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.