[Ext] ThumbsDown 0.22.5 - Bulk image downloader - 2016-03-28

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
Nick2k9
Posts: 2
Joined: May 4th, 2009, 5:51 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by Nick2k9 »

Ηello

First of all i wanted to thank the owner who created this script. It is rather useful although it lacks a bit of documentation for the moment. Anyways, the last days i am experiencing with the script and i wanted to see how to work with the image galleries of various websites

To give an example, we have an album with thumbnails for example:

Code: Select all

http://xxx.com/gallery/thumbnails.php?album=27


In that album when you click on the thumbnails you go to another page that contains the full size image, i.e

Code: Select all

http://xxx.com/gallery/displayimage.php?album=27&pos=0


when you clik on the image through javascript it opens another window with the full size image i.e

Code: Select all

http://xxx.com/gallery/displayimage.php?pid=154&fullsize=1


Although the url of the thumbnail and the actual full size image are very easy i.e

Code: Select all

http://xxx.com/gallery/albums/something/something/thumb_filename.jpg
http://xxx.com/gallery/albums/something/something/filename.jpg


it didn't work either with the regexp or the wrapped method, because the url of the links are different with the thumbnail and the fullsize images

I did wrote the match, pattern and the template correctly:

Code: Select all

Matcher: http://xxx\.com/gallery/albums/directory1/directory2/\d+\.jpg
Pattern: http://xxx\.com/gallery/albums/directory1/directory2/thumb_(.+)
Template: http://xxx.com/gallery/directory1/directory2/$1


but because the links of the urls are different that the actual images the script doesn't work
I think we can use custom script for this job but i don't know what to write...
Just to mention that those galleries don't use element_id for the images so it doesn't work the wrapped method, so it can be done either with regexp or custom
Also the galleries have many subdirectories, so after the /gallery subdirectory there are various directories that need to be included in the script in order to work for all album galleries because most of them have the same functionality

Any help would be appreciated...
Greetings...
Nick
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by neojam »

hi Nick2k9,
Matcher supposed to match links of the thumbnails (where they point to, not their actual location).

For your example it seems to be:

Code: Select all

http://xxx\.com/gallery/displayimage\.php\?album=\d+&pos=\d+


also if the thumb and fullsize images are located under:

Code: Select all

http://xxx.com/gallery/albums/something/something/thumb_filename.jpg
http://xxx.com/gallery/albums/something/something/filename.jpg

then the correct regex script ("Pattern source" should be set to "Thumbinail" in the script options )should be:

Code: Select all

Matcher:  http://xxx\.com/gallery/displayimage\.php\?album=\d+&pos=\d+
Pattern:  http://xxx\.com/gallery/albums/(.+)/thumb_(.+)
Template: http://xxx.com/gallery/albums/$1/$2

you seem to have missed the "albums" part in template in your example above.
Last edited by neojam on May 4th, 2009, 9:57 am, edited 1 time in total.
Nick2k9
Posts: 2
Joined: May 4th, 2009, 5:51 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by Nick2k9 »

Thanx a lot neojam it seems to work now, i knew that i misunderstood something in the matcher code. Yes indeed matcher is about the links of the thumbnails and not the thumbnail url. Now they are working ok, i will try some galleries to see if it can work with all the images because i was having some issues with previous programms i used...
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by neojam »

You're welcome ^_^
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by ake79 »

Thanks for helping out neojam.

And answers...

neojam wrote:1) Is it possible to download images if they don't have an actual matcher link, but an "onclick=" function?

Not at the moment. I'll see what I can do when I improve thumbnail selection code.

neojam wrote:2) What if a matcher link points you to a page with several images that you want to download...

There's no "multi" image download support either. A bit against one-thumbnail-one-image philosophy, but I guess I could add support for it in custom script.

KaaMoS wrote:On the other hand, I'd like to know if you're thinking about the creation of a WebPage which contents could be managed as "userscripts.org" do for "Greasemonkey", but your own Webpage for "ThumbsDown".

Yes, this has been requested before... Uhm, kick me if something hasn't happened by the end of this week. Just don't expect anything as fancy as userscripts.org.
My extensions: Save File to | ThumbsDown
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by neojam »

I'm glad to be of any help here, ake79.
ake79 wrote:There's no "multi" image download support either. A bit against one-thumbnail-one-image philosophy, but I guess I could add support for it in custom script.

This would be really handy (just like your "run ThumbsDown on all tabs" script ^_^), since I did run into quite a few websites where one single thumb linked to a page with several "full-size" images.
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by neojam »

Hi ake79,
I have yet another request for you:
Can you please spare some of your time to modify/expand your custombuttons script, that you've posted for me on page 4, to do the following:

Left mouse click: Run ThumbsDown on current tab
Right mouse click: Run ThumbsDown on current tab and close that tab afterwards.
Middle mouse click: Run ThumbsDown on all open tabs (your script already does this, i just want it to be on Middle mouse click)

thanks
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by ake79 »

My extensions: Save File to | ThumbsDown
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by neojam »

Thanks Atte,
Everything works great!
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by ake79 »

Status update. Progress with ThumbsDown has been slow lately. Actually, zero progress. I have been otherwise occupied. I intend to update ThumbsDown for ff3.5, but I'm not sure if the next version will out before ff3.5 is released.


But actually the main reason for this post is to advertise another extension, AntiContainer made by DownThemAll! developer Nils Maier. It's somewhat similar to ThumbsDown except that it's a bit easier to use as it comes with ready made scripts/plugins for different websites. No image selection from web sites like in ThumbsDown at the moment though.

I was contacted today by a former ThumbsDown user (what do you mean by "difficulty writing scripts" ;)) about possibility to combine the best of both extensions into one. That has actually been my intention after Nils contacted me about the same idea some time ago. I have been meaning to try add ThumbsDown's image selecting to AntiContainer, just haven't got around to it. Let's see if I have the time during my summer vacation.
My extensions: Save File to | ThumbsDown
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.13 - Bulk image downloader - 2009-04-10

Post by ake79 »

Release 0.14 - ChangeLog

Support for Firefox 3.5. Updated translations. Nothing really new.

Also, ThumbsDown Forum is open.
My extensions: Save File to | ThumbsDown
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.14 - Bulk image downloader - 2009-06-28

Post by neojam »

Thanks for compatibility update, Atte! Much appreciated.
Gonna try that AntiContainer plug as well, though right now I'm fully satisfied with the ThumbsDown when it comes to image leeching (especially after you've supplied the CustomButtons script for easy 1-click downloading).
The only feature that i still kinda miss is the "multi image download support" ( for matcher links that point you to a page with several full-size images), but i already cried about it in one of my previous post ^_^'

Anywayz, thanks again for the update!
JoeAtari
Posts: 1
Joined: July 7th, 2009, 11:27 pm

Re: [Ext] ThumbsDown 0.14 - Bulk image downloader - 2009-06-28

Post by JoeAtari »

Hi:

Can anyone please assist with a ThumbsDown script for the following site:

http://www.besteyecandy.com/

After much effort I've concluded that "wrapped" is the way to go, and I've tried the following parameters:

Matcher: http://www\.besteyecandy\.com/BestEyeCandyCOM\.php\?pid=.+
Type: Wrapped
Attibute: id
Value: cpic

This method causes the following error in Script Runner:

Error (Evaluating - 1: thumbsdown_ScriptError:T ypeError: image is null (line: 6))

Any ideas?

Many thanks!
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.14 - Bulk image downloader - 2009-06-28

Post by ake79 »

Hi JoeAtari

I tried that same script on some random galleries there and it worked for me. (I also tried type: regexp + source: link. It worked also).

Are you sure it wasn't some temporary server/network problem causing the picture not to be there? If the problem continues, tell me the problematic page and I can take look at it. pm or email is fine.
My extensions: Save File to | ThumbsDown
O2B_Free
Posts: 6
Joined: August 16th, 2009, 3:24 pm

Re: [Ext] ThumbsDown 0.14 - Bulk image downloader - 2009-06-28

Post by O2B_Free »

Hello, I did everything right and much to my disappointment I could only download thumbnails. The site I am downlaoding from (imagefap) opens a full image after clicking a thumbnail. Do I need a script ? Can you suggest something? Thanks in advance!
Post Reply