I want wget to scan for sub and sub-subdirectories of:
domain.com/profile/username/albums/
Then grab every .jpg file from their sources.
Wget should get files like:
domain.com/profile/username/albums/album1/43434
(...)
domain.com/profile/username/albums/album6/4343
And download every image from their sources (unfortunately these images are on different server).
Is this possible?
I've been playing with -p -A .jpg and -r 1/2/3/4/5 but it grabs everything, like:
domain.com/profile/anotherusername/albums
domain.com/site/contactus
domain.com/site/anothersite
commercials-for-domain.com/banner/
etc.
wget -E -H -k -K -p domain.com/profile/username/albums/album1/43434
Works perfectly but with only one page; I'm not sure how to "scan" for different albums and files.
I need to do this because a friend of mine got her computer stolen and all her pictures are on this page and nowhere else. There are almost 200 of them with div overlays above them so it's hard to save them manually!
[edit]
The path tree looks exactly like this:
First level:
domain.com/profile/username/albums/
Second level:
domain.com/profile/username/albums/1,My Birthday Photos/
domain.com/profile/username/albums/2,Photos_From_2011-09-25/
Third level:
domain.com/profile/username/albums/1,My Birthday Photos/75893989,
domain.com/profile/username/albums/2,Photos_From_2011-09-25/74893213,