From 88ecd143540c4d838640f10179833db66ae962fa Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 14 Aug 2022 23:22:02 +0100 Subject: [PATCH] Adds .wgetrc config --- configs/.wgetrc | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 configs/.wgetrc diff --git a/configs/.wgetrc b/configs/.wgetrc new file mode 100644 index 0000000..98a8c54 --- /dev/null +++ b/configs/.wgetrc @@ -0,0 +1,35 @@ +# 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 (DNS, connect and read) +timeout = 60 + +# Retry a few times when a download fails, but don’t overdo it +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 extensions when missing, based on header type (e.g. text/html --> .html) +adjust_extension = on + +# Use UTF-8 as the default system encoding +#local_encoding = UTF-8 + +# Ignore `robots.txt` and `` +robots = off + +# Print the HTTP and FTP server responses +server_response = on + +# Disguise as IE 9 on Windows 7 +user_agent = Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)