C
C
ComodoHacker2011-07-18 00:02:41
Photo
ComodoHacker, 2011-07-18 00:02:41

Downloading photos from [email protected]?

Given: several links to mail.ru albums
. Required: to receive photos from these albums in the highest possible resolution as files. To show them to people without the Internet, print them, just keep them, etc. It is advisable to save the names of the photos, if any; ideally in EXIF, well, at least in the file name.
Are there ready-made solutions that automate the process?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry, 2011-07-18
@ComodoHacker

for FF I use the downthemall add-on. It allows you to download links from the page in just a couple of clicks.

K
Kindman, 2011-07-18
@Kindman

You can try installing a caching proxy server on your computer, such as Murgox, and simply open the desired pictures with the mouse in the browser.
Then, simply, look at what is “lying around” in the cache (sorted by size).

D
danfe, 2011-07-18
@danfe

Perhaps it will be easier and faster to write your own ad-hoc solution, especially since everything is quite transparent at first glance (links to photos like content.foto.mail.ru/mail/user/album/i-serial_number.jpg), EXIF is stored inside the page as javascript code (search for "var exif_info"). There are no special conditions such as checking the referrer or user-agent, the pictures are downloaded by the usual wget.

@
@sledopit, 2011-07-19
_

sketched in 3 minutes on bash. to the ideal, of course there is something to cut, but it seems to work. (this thing only forms a list of commands, add it at the end through the bash or xargs pipe and it will start downloading).
wget -qO - foto.mail.ru/АЛЬБОМ | grep -E "myspot|title.*[0-9]+\.html" | sed '/myspot/{[email protected]*\(http[^"]*jpg\).*@\[email protected];[email protected]/[email protected]/[email protected];};[email protected]<[^>]*>@@g;s/ /_/g;s/http/`http/g;s/\t\t*/ /g;' | tr -d '\n' | tr '`' '\n' | sed 's/\([0-9]*\).jpg */\1.jpg \1-/;s/ / -qO "/;s/\([^"]\)$/\1.jpg"/;s/^/wget /;s/-.jpg/-noname.jpg;/;s/)//' | grep jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question