-
Notifications
You must be signed in to change notification settings - Fork 0
/
wgetrc
54 lines (40 loc) · 1.8 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
51
52
53
54
# -----------------------------------------------------------------------------
# Matjaž's dotfiles wget configuration file
#
# Copyright (c) 2015-2016, Matjaž Guštin <[email protected]> matjaz.it
# This source code form is part of the "Matjaž's dotfiles" project and is
# subject to the terms of the BSD 3-clause license as expressed in the
# LICENSE.md file found in the top-level directory of this distribution and at
# http://directory.fsf.org/wiki/License:BSD_3Clause
# -----------------------------------------------------------------------------
# Use the server-provided last modification date, if available
timestamping = on
# Do not go up in the directory structure when downloading recursively
no_parent = on
# Wait 60 seconds 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.
# (The default is 20!)
tries = 5
# Time to wait between retrials
waitretry = 10
# Retry even when the connection was refused
retry_connrefused = on
# Use the last component of a redirection URL for the local file name
trust_server_names = on
# Force continuation of preexistent partially retrieved files
continue = on
# Follow FTP links from HTML documents by default
follow_ftp = on
# Add a `.html` extension to `text/html` or `application/xhtml+xml` files that
# lack one, or a `.css` extension to `text/css` files that lack one
adjust_extension = on
# Use UTF-8 as the default request for the encoding
header = Accept-Charset: utf-8
# Ignore `robots.txt` and `<meta name=robots content=nofollow>`
robots = off
# Print the HTTP and FTP server responses
server_response = off
# Disguise as Firefox 40.1 on OpenBSD
user_agent = Mozilla/5.0 (X11; OpenBSD amd64; rv:40.0) Gecko/20100101 Firefox/40.1