iMGSRC.ru download project

Post Reply
anmuser001
Posts: 1
Joined: 01 Oct 2014, 20:38

iMGSRC.ru download project

Post by anmuser001 » 01 Oct 2014, 20:55

Since it is not a very straightforward goal to be obtained, I choose to share with other users how to download image galleries from the iMGSRC.ru website.
This site has got a somewhat tricky system to prevent pictures from being downloaded. Infact full-sized pictures URLs are "dinamically" created through javascript code (adding some random characters patterns to the address) at page parsing time.

To correctly download all the full sized pictures contained in an iMGSRC.ru album, you can configure your project as follows.
Add the following regular expression to the "Custom parsers" section of the program (this extract the correct address by analyzing the script itself):
Regular expression:
var n='(\w)(\w)(\w)'.*var u='(.)(.*)'\+'/(\d)/'\+'([\d]+)'.*\.src='(http://[a-z]\d\.eu\.icdn\.ru/)'
Corresponding address string:
[#8][#4]/[#4][#5]/[#6]/[#7][#3][#1][#2].jpg

This will work correctly by providing the software with an URL for any picture of the album, in gallery view (the link to the "preface" page of the album may not work, as for the "all images on one page" view setting and password protected albums).
Notes:
You can additionally avoid the downloading of users accounts pictures by inserting the "upic.jpg" string into the "Exclude list" tab of your project.

As I would suggest to the makers of this software, it would have been much easier to download from this website, if the software actually parsed the javascripts in the page, like a normal browser - and other product similar to this - do.

Maksym
Site Admin
Posts: 2077
Joined: 02 Mar 2009, 17:02

Re: iMGSRC.ru download project

Post by Maksym » 02 Oct 2014, 11:06

Thank you very much for sharing this!

de2apandi
Posts: 70
Joined: 31 Oct 2014, 04:43

Re: iMGSRC.ru download project

Post by de2apandi » 31 Oct 2014, 05:02

Thanks brother it work.

Maksym
Site Admin
Posts: 2077
Joined: 02 Mar 2009, 17:02

Re: iMGSRC.ru download project

Post by Maksym » 23 May 2016, 15:48

OK, here is the template for downloading any imgsrc.ru album:

http://www.webimagedownloader.com/templ ... -template/

And here is the complete tutorial:

http://www.webimagedownloader.com/how-t ... .ru-albums

Post Reply