On Mon, 2005-09-05 at 23:51 +0400, Sergey Martynoff wrote:

> This is exactly what I was asking about few days ago. There is no
> such functionality in wget. As I found in archives, the developers
> do not want to implement regexp due to huge size of regexp libs.

Ah, thanks for the info. It could still be useful to add a compile
option that would enable using a regex (but defaults to off). 

> But external filtering seems to be interesting solution.
> Recently I made a simple patch to workaround this problem. This
> patch adds --output_filter parameter, which is used to specify
> external filtering program. Filter is applied not to urls list,
> but to whole fetched file right after file saving. The file name
> is passed as the last argument to the filter command. I posted
> this patch to wget-patches mailing list, and I can send it to you
> if you're able to recompile wget on your system.

Cool, that sounds good, it would be good if you could send me the patch.
I would make the parameter --output-filter myself. I might request that
your patch be added to the debian version if it works well for me.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to