[Nottingham] Downloading multiple images from a website

Simon Huggins huggie at earth.li
Thu Jun 2 15:03:43 BST 2005


On Thu, Jun 02, 2005 at 02:21:06PM +0100, Robert Hart wrote:
> On Thu, 2005-06-02 at 13:51 +0100, Paul Sladen wrote:
> > On Tue, 31 May 2005, Michael Quaintance wrote:
> > > with the filenames 0.jpg to 999.jpg but acknowledging that not all of 
> > > these will exist
> >   wget --wait=10 http://www.website.com/images/random404img/{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}.jpg
> > 	-Paul
> or maybe 
>   wget --wait=10
> http://www.website.com/images/random404img/{,1,2,3,4,5,6,7,8,9}{,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}.jpg
> ?

Not quite.

I think the monstrosity:
{{,1,2,3,4,5,6,7,8,9},{1,2,3,4,5,6,7,8,9}0,{1,2,3,4,5,6,7,8,9}{1,2,3,4,5,6,7,8,9}}{0,1,2,3,4,5,6,7,8,9}.jpg
does it.

Purely academic really as seq is easier to understand.

Simon.

-- 
[ "Clear?" - Holly. "No." - Lister. "Tough." - Holly.                  ]



More information about the Nottingham mailing list