|
From: | Guillaume Turri |
Subject: | Re: [Bug-wget] How to ignore link like "index.html?lang=ja"? |
Date: | Thu, 03 Jun 2010 23:17:50 +0200 |
User-agent: | Thunderbird 2.0.0.24 (X11/20100411) |
Micah Cowan a écrit :
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).
Indeed, according to your explanation, the --reject and --accept options wouldn't be a solution here. And it seems it would be more useful if those filters could be applied before a page is downloaded, rather than after.
In fact, why is this option treated after a download? Are there cases where it is the wanted treatment, or is it a kind of bug? If it's rather a bug, would a patch be welcome?
Regards, Guillaume
[Prev in Thread] | Current Thread | [Next in Thread] |