forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.wgetrc
29 lines (20 loc) · 750 Bytes
/
.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
# use server-provided last modification date
#timestamping = on # is this cache?
# don't go up in dir structure when downloading recursively
#no_parent = on # I expect it creates a folder in WD to avoid pollution
# this applies to all: DNS, connect and read
timeout = 60
tries = 3
retry_connrefused = on
# use last component of redir URL as local file
trust_server_names = on
# append file-extension according to Media/MIME-Type
adjust_extension = on
# https://github.com/mathiasbynens/dotfiles/blob/b7c7894e7bb2de5d60bfb9a2f5e46d01a61300ea/.wgetrc#L25-L28
# to-do: test on Debian and Termux
local_encoding = UTF-8
# I rarely use `wget` in scripts
robots = off
# IDK if I want this
#server_response = on
# `user_agent` intentionally default