I am trying to download a site as you see bellow with curl or wget but either one seems to work. I tried different options like "curl -k" seemed promising, but did not work. Every one is allowed to visit the page, it works with Firefox. I also check this page for answers but did not find one, although I think it is a similar problem.
--
code
(curl -k "http://notepad-plus-plus.org/news/") it works fine – andrej Sep 30 '14 at 06:23code
(curl --user-agent "Mozilla/4.0" "https://cdburnerxp.se/en/development") but it does not work. – andrej Sep 30 '14 at 06:31http://website.com
– DisplayName Oct 02 '14 at 18:08wget --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/8.0 Safari/600.1.17" "https://cdburnerxp.se/en/development"
and get :
– andrej Oct 03 '14 at 04:59--2014-10-03 08:58:46-- https://cdburnerxp.se/en/development Resolving cdburnerxp.se... 176.9.56.74, 2a01:4f8:150:84c2::2 Connecting to cdburnerxp.se|176.9.56.74|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2014-10-03 08:58:47 ERROR 403: Forbidden.
`wget --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/8.0 Safari/600.1.17" cdburnerxp.se/en/development
And it worked. – DisplayName Oct 03 '14 at 05:29