dotfiles/files/dl/.wgetrc

38 lines
1.3 KiB
Plaintext
Raw Normal View History

2012-09-22 00:30:00 +00:00
# Use the server-provided last modification date, if available
2015-06-14 19:27:04 +00:00
#timestamping = on
2012-09-22 00:30:00 +00:00
# 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 dont overdo it. (The default is 20!)
tries = 3
# 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
# 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
2016-10-03 11:46:31 +00:00
#adjust_extension = on
2012-09-22 00:30:00 +00:00
# Use UTF-8 as the default system encoding
# Disabled as it makes `wget` builds that dont support this feature unusable.
# Does anyone know how to conditionally configure a wget setting?
# http://unix.stackexchange.com/q/34730/6040
#local_encoding = UTF-8
# Ignore `robots.txt` and `<meta name=robots content=nofollow>`
robots = off
# Print the HTTP and FTP server responses
2015-06-14 19:27:04 +00:00
#server_response = off
2012-09-22 00:30:00 +00:00
2016-12-21 11:47:50 +00:00
user_agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2873.0 Safari/537.36