On 06/01/2010 05:53 PM, Peng Yu wrote:
> On Tue, Jun 1, 2010 at 6:48 PM, Micah Cowan <mi...@cowan.name> wrote:
>> On 06/01/2010 04:36 PM, Peng Yu wrote:
>>> I need to use the option --convert-links to download only one webpage,
>>> because I want to convert absolute links to relative links if the
>>> links are under the host directory where the webpage is in. Since I
>>> only interest in one page, I'd like to set -l be zero. But it seems
>>> that if I set it to zero, wget will download everything linked from
>>> this webpage.
>>
>> The way to say "I don't want to download recursively" isn't -r -l 0,
>> it's to leave out -r altogether.
> 
> It seems that --convert-links only works if -r is specified, right? If
> I want to use --convert-links, then I have to specify -r?

Works for me without -r, at least in version 1.12.

-- 
Micah J. Cowan
http://micah.cowan.name/

Reply via email to