Page 1 of 1
Need help with building galleries script for a few sites.
Posted: Sat Nov 06, 2010 1:11 am
by An
*NSFW*
Could someone write a script or give me a few pointers how to build a gallery from thumbnails for sites like [url=
http://konachan.com]this[/url] and [url=
http://chan.sankakucomplex.com/]this[/url]. Been trying to do it myself, but all images have random files names, are in different directories, different formats; result = no success :<
Thanks.
Re: Need help with building galleries script for a few sites
Posted: Sat Nov 06, 2010 12:38 pm
by therube
First instance, konachan.com/post
FlashGot All, then filter the resulting list (prior to download) to include only those files that have dimensions as their Title (like 1280 x 800). That would pull down the wanted images for a particular page. (Filter initially in FlashGot so that only .jpg are returned, filter later in your download manager selecting only the pertinent jpg files. Those not chosen would be the thumbnails ...)
Second instance, chan.sankakucomplex.com/
FlashGot All. In this case you want to filter on those images that have the word /preview/ in their path. They would be the thumbnails.
c2.sankakustatic.com/data/preview/bd/66/bd667080f453327e6cb1dc5c26258f30.jpg
What you would need to do would be to s/preview/sample/ & then preface the filename with "preview". So you end up with:
c2.sankakustatic.com/data/sample/bd/66/previewbd667080f453327e6cb1dc5c26258f30.jpg
Just not sure how to do that with FlashGot?
(You could use FlashGot to get the thumb names. Save list to file. Edit with say VIM (editor). Save list. Drag list into download manager ... Not exactly automated, but ...)