[EMAIL PROTECTED] writes: > I tried to download the European Constitution in English from > > http://europa.eu.int/eur-lex/lex/en/treaties/dat/12004V/htm/12004V.html > > with the following wget command: > > wget -r -l 2 > http://europa.eu.int/eur-lex/lex/en/treaties/dat/12004V/htm/12004V.html > > In this file the "20. Protocol on the position of Denmark" link is > not detected, and the file on > http://europa.eu.int/eur-lex/lex/en/treaties/dat/12004V/htm/C2004310EN.01035601.htm > hadn't downloaded. This link works in Firefox and Links browsers.
That link seems to work for me. For example: $ wget -rl1 -A C2004310EN.01035601.htm http://europa.eu.int/eur-lex/lex/en/treaties/dat/12004V/htm/12004V.html --11:33:48-- http://europa.eu.int/eur-lex/lex/en/treaties/dat/12004V/htm/12004V.html --11:33:48-- http://europa.eu.int/robots.txt Removing europa.eu.int/eur-lex/lex/en/treaties/dat/12004V/htm/12004V.html since it should be rejected. --11:33:49-- http://europa.eu.int/eur-lex/lex/en/treaties/dat/12004V/htm/C2004310EN.01035601.htm FINISHED --11:33:49-- Downloaded: 20,998 bytes in 3 files I used -A in the example to download only that one link, but the link seems to be detected and should be downloaded in any case. Can you send a debug log of your download? Do you have something in .wgetrc that might be affecting Wget's behavior?
