Re: [Bug-wget] How to ignore link like index.html?lang=ja?

2010-06-01 Thread Peng Yu
On Sat, May 29, 2010 at 12:11 PM, Micah Cowan mi...@cowan.name wrote: Unfortunately, wget doesn't currently let you match query strings. Yes, this is a major shortcoming. Peng Yu pengyu...@gmail.com wrote: There is the link index.html?lang=ja in index.html. I want to ignore such links. I use

[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?)

2010-06-01 Thread Peng Yu
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,

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?)

2010-06-01 Thread Micah Cowan
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

Re: [Bug-wget] How to ignore link like index.html?lang=ja?

2010-06-01 Thread Micah Cowan
On 06/01/2010 03:51 PM, Peng Yu wrote: On Sat, May 29, 2010 at 12:11 PM, Micah Cowan mi...@cowan.name wrote: Unfortunately, wget doesn't currently let you match query strings. Yes, this is a major shortcoming. Peng Yu pengyu...@gmail.com wrote: There is the link index.html?lang=ja in

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?)

2010-06-01 Thread Micah Cowan
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