[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Specify -D domain list using pattern
From: |
Ángel González |
Subject: |
Re: [Bug-wget] Specify -D domain list using pattern |
Date: |
Tue, 29 May 2012 22:56:02 +0200 |
User-agent: |
Thunderbird |
El 29/05/12 22:23, wesley escribió:
> The man page doesn't make any mention of -D accepting patterns (and
> trying it seems to indicate it doesn't), so assuming there isn't
> already a way to do this, this is also a feature request.
>
> I'm interested in capturing a certain subset of subdomains of the form
> img*.example.com. Setting -Dexample.com pulls in bunch of links I'm
> not interested in, and -p alone doesn't do the trick.
>
> Any guidance on a way to accomplish this would be much appreciated.
>
> Thanks :)
Glob characters are illegal in domain names, so I don't see any problem
with that.
You'd want to use fnmatch_nocase()