dowload images to one directory using Url Substitutes

Author Message
Gio 09/22/2006 03:26 am
Hi,


I am tring to download images from a site that auto-generates dir1 and dir2 (different every time) and has a different site url (img*.somehost.com) for each image. OE works just great, however I would like to have the images download to a single directory.

eg

From http://img123.somehost.com/dir1/dir2/image01.jpg To images/image01.jpg
From http://img456.somehost.com/dir1/dir2/image02.jpg To images/image02.jpg


I am having difficult using Url Substites because the dir1 and dir2 are different every time and the site is different for every image.


Is it possible to achive this ?


Any help is greatly appreciated.


thanks Gio
Oleg Chernavin 09/22/2006 05:06 am
Yes, this is not easy when directory changes. Maybe a rule like:

URL:
*.jpg
Replace:
http://***.somehost.com/**/*/
With:
http://***.somehost.com/images/

Oleg.
Gio 09/22/2006 05:05 pm
> Yes, this is not easy when directory changes. Maybe a rule like:
>
> URL:
> *.jpg
> Replace:
> http://***.somehost.com/**/*/
> With:
> http://***.somehost.com/images/
>
> Oleg.


Thanks Oleg for your quick response, it works great. I played around a bit with the WITH and found that this statemaent 'http://somehost.com/images/' places all the images in somehost.com/images directory, which is great because it dosen't re-download the same image in different directories.

I love using Offline Explorer, each time I use it I learn more about it's powerful features, and it has the best support team that I have ever seen.

thanks again

Gio
Oleg Chernavin 09/25/2006 06:28 am
You are welcome!

Oleg.