bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Micah Cowan
Subject: Re: [Bug-wget] How to ignore link like "index.html?lang=ja"?
Date: Thu, 03 Jun 2010 11:54:29 -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/03/2010 07:41 AM, Keisial wrote:
> Peng Yu wrote:
>> On Sat, May 29, 2010 at 12:11 PM, Micah Cowan <address@hidden> wrote:
>>   
>>> Unfortunately, wget doesn't currently let you match query strings. Yes, 
>>> this is a major shortcoming.
>>>
>>> "Peng Yu" <address@hidden> wrote:
>>>
>>>     
>>>> There is the link "index.html?lang=ja" in index.html. I want to ignore
>>>> such links. I use the following command. Would you please let me know
>>>> how to ignore "index.html?lang=ja"?
>>>>       
>> Is there a walkaround for this shortcoming?
>>   
> 
> wget --reject="?lang=ja"
> They will be downloaded, then deleted.

Downloaded, recursed, then deleted, which doesn't usually help much.

Note that if -E is specified, then it may not even delete them (because
the file's name may have changed in such a way that it no longer matches).

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]