Need help with building galleries script for a few sites.

Ask for help about FlashGot, no registration needed to post
Post Reply
An

Need help with building galleries script for a few sites.

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Need help with building galleries script for a few sites

Post 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 ...)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0b8pre) Gecko/20101105 Firefox/4.0b8pre SeaMonkey/2.1b2pre
Post Reply