|
From: | Micah Cowan |
Subject: | Re: [Bug-wget] How to set -l to be zero? (Or how to download a single webpage and convert the absolute links to relative links with wget?) |
Date: | Tue, 01 Jun 2010 16:48:53 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 |
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. -- Micah J. Cowan http://micah.cowan.name/
[Prev in Thread] | Current Thread | [Next in Thread] |