bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] errors attempting to use options


From: A
Subject: [Bug-wget] errors attempting to use options
Date: Thu, 28 Apr 2016 06:21:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Greetings,

I copied the below function into my .bashrc, sourced it and proceeded to
attempt to use it.

You can see the output below before I interrupted it.  Please advise
where I've gone wrong.

Thank you

crwl() {
wget --tries=inf --timestamping --recursive --level=inf --convert-links
--no-parent ‐‐accept "*.zip" ‐‐execute robots=off
‐‐exclude-directories=/profile,/blog "$@"
}

$ crwl https://premium.wpmudev.org/download
--2016-04-28 06:03:53--  http://xn--accept-9f0ca/
Resolving ‐‐accept (xn--accept-9f0ca)... 198.105.254.228, 198.105.244.228
Connecting to ‐‐accept (xn--accept-9f0ca)|198.105.254.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://localhost [following]
--2016-04-28 06:03:53--  http://localhost/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11510 (11K) [text/html]
Server file no newer than local file ‘xn--accept-9f0ca/index.html’ --
not retrieving.

--2016-04-28 06:03:53--  http://*.zip/
Resolving *.zip (*.zip)... failed: Name or service not known.
wget: unable to resolve host address ‘*.zip’
--2016-04-28 06:03:53--  http://xn--execute-406ca/
Resolving ‐‐execute (xn--execute-406ca)... 198.105.254.228, 198.105.244.228
Connecting to ‐‐execute (xn--execute-406ca)|198.105.254.228|:80...
connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://localhost [following]
--2016-04-28 06:03:53--  http://localhost/
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11510 (11K) [text/html]
Server file no newer than local file ‘xn--execute-406ca/index.html’ --
not retrieving.

--2016-04-28 06:03:53--  http://robots=off/
Resolving robots=off (robots=off)... failed: Name or service not known.
wget: unable to resolve host address ‘robots=off’
idn_encode failed (3): ‘Non-digit/letter/hyphen in input’
idn_encode failed (3): ‘Non-digit/letter/hyphen in input’
--2016-04-28 06:03:53--
http://%E2%80%90%E2%80%90exclude-directories=/profile,/blog
Resolving ‐‐exclude-directories= (‐‐exclude-directories=)... failed:
Name or service not known.
wget: unable to resolve host address ‘‐‐exclude-directories=’
--2016-04-28 06:03:53--  https://premium.wpmudev.org/download
Resolving premium.wpmudev.org (premium.wpmudev.org)... ^C







reply via email to

[Prev in Thread] Current Thread [Next in Thread]