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

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-21

Post by ake79 »

No problem.

Yes, it's been quiet. There are plans. Implementing them is another matter. Let's see after I get Save File to 2.0 released which has also been in the works for quite some time.
My extensions: Save File to | ThumbsDown
Rainbow8
Posts: 9
Joined: March 21st, 2010, 11:28 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-21

Post by Rainbow8 »

@ake79
I'm sorry for a traditional stupid question but I strongly need your solution. Please help!
How can I download all _original_ picture files from flickr album?

    Code: Select all

    http://www.flickr.com/photos/sheepbackcabin/4104563280/in/set-72157612402431666/   #thumb link
    http://www.flickr.com/photos/sheepbackcabin/4111240196/in/set-72157612402431666/   #thumb link2
    http://farm3.static.flickr.com/2600/4104563280_0c5722962f_s.jpg   #thumb pic1   
    http://farm3.static.flickr.com/2781/4111240196_c788b502da_s.jpg   #thumb pic2    
    http://farm3.static.flickr.com/2600/4104563280_4ea81e88c8_o.jpg   #pic original (i need this)
    http://farm3.static.flickr.com/2781/4111240196_1801f768a9_o.jpg   #pic original2 (and this)

I did the following:
from this place http://www.flickr.com/photos/sheepbackc ... 66/?page=2
whith this code

Code: Select all

matcher:    http://www\.flickr\.com/photos/\w+.?\w+/\w+/in/\w+.\w+/?
pattern:    http://farm(\w+)\.static\.flickr\.com/(\d+)/(\w+)\_(.*)_.\.jpg
template:    http://farm$1.static.flickr.com/$2/$3_$4_b.jpg

I download big-pictures (*_b.jpg) :shock:
but not original (*_o.jpg) ](*,)

[-o< please, please...
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-21

Post by ake79 »

I haven't really used ThumbsDown in Flickr. Below should work for the linked pictures. Not sure how it fares in other galleries.

Code: Select all

matcher: http://www\.flickr\.com/photos/sheepbackcabin/\d+/in/set-72157612402431666/
type: custom
code:
switch (state) {
  case 0:
    LOAD(linkUrl.replace("/in/set-", "/sizes/o/in/set-"));
  case 1:
    var attrName = "src";
    var attrValuePattern = "^http://farm\\d+\\.static\\.flickr\\.com/\\d+/\\d+_\\w+_o\\.jpg$";
    var re = new RegExp(attrValuePattern);
    var images = document.images;
    for (var i = 0; i < images.length; i++)
      if (re.test(images[i][attrName]))
        RETURN(images[i].src);
    break;
}

Custom scripts are kind of ugly. I just haven't had the time to implement proper greasemonkey like support for them. The above is based on "image attribute" code template that's available from context menu in code area.
My extensions: Save File to | ThumbsDown
Rainbow8
Posts: 9
Joined: March 21st, 2010, 11:28 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-21

Post by Rainbow8 »

@ake79
Thank you!
You are right, it is necessary to check the code in other galleries…..
but that's cool!!! I will go on looking into =))
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by neojam »

Hi Atte,

i have a "small" request:
Could you please remove the "Download folder does not exist" error from Thumbsdown (maybe a checkbox to suppress this warning)?

I mean the folder creation is handled by DownloadThemAll extension, so folders will be created automatically even if they don't exist, once the download is started. Currently Thumbsdown's "Download folder does not exist" error message doesn't let DownloadThemAll to do that...

P.S.
just donated 20$ at AMO, hope it helps a little to keep this project afloat ^_^

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

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by ake79 »

Hmm... Could you elaborate your use case. Do you change your ThumbsDown download folder often? Or how come you get that error message?
My extensions: Save File to | ThumbsDown
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by neojam »

Yup i change it VERY often, for example if i download galleries from deviantart.com.
For every artist i've to make a new DIR:
http://img696.imageshack.us/img696/8298/57575655.png
And if the DIR doesn't exist yet, ThumbsDown displays the error-dialog "Download folder does not exist", once you try to start download.
I think this is unnecessary, since DownloadThemAll creates folders automatically anyway.

P.S.
I know that you can create folders if you enter them into the renaming mask instead and you wont get the "Download folder does not exist" error:
http://img716.imageshack.us/img716/7241/60600190.png
But there is a bug with custom sripts if you do so:
Once you change the renaming mask to something else WHILE Thumbsdown still running some custom-scrip job, it will use the new renaming mask for all items that are still in the download queue.

example:
1) Enter into the renaming mask "DIR01\*name*.*ext*" and start some custom script.
- Images will be downloaded into DIR01
2) Then go into ThumbsDown preferences and change the renaming mask to "DIR02\*name*.*ext*" without doing anything else.
- Images that were still in the download queue will be now downloaded to DIR02.
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by ake79 »

I'll do something about that directory thing for next version. And yes that renaming mask isn't handled like it should be, but I probably won't do anything about for now. It not like there's has been a lot progress in ThumbsDown lately. But plan to update ThumbsDown for ff4 so the next version should be coming sooonish. It will be just compability update for ff4 plus some minor fixes.
My extensions: Save File to | ThumbsDown
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by neojam »

Thanks, i will be waiting then.

"It not like there's has been a lot progress in ThumbsDown lately."
-Which is truly sad, since TD is a great addon and there are no other addons like it.
(I know only one piece of software which comes close to TD, its called Bulk Image Downloader and it costs 29$.)

The only reason TD doesn't get enough recognition is because most people are too "lazy" to learn even some basic RegEx...
mpurna77
Posts: 141
Joined: August 9th, 2009, 3:57 pm

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by mpurna77 »

Thanks for such a great addon. As Neojam said nearly equivalent in options with BID which costs much.
Though this addon is causing Tab navigation in forms to fail and CTRL + HOME not moving vertical scroll back to top.
Could you please take care of this in your next release.
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by ake79 »

mpurna77 wrote:Though this addon is causing Tab navigation in forms to fail and CTRL + HOME not moving vertical scroll back to top.

Are you sure ThumbsDown is the cause for those troubles. I have never noticed the problems you mentioned. And I would be a bit suprised if they were caused by ThumbsDown because it doesn't do anything that would affect those keys.

For example, tab navigation works just fine in http://www.quirksmode.org/js/formex.html (just a random page) whether or not ThumbsDown is active in ff3.6.13 in Linux. I'll test in Windows when I have the time.
My extensions: Save File to | ThumbsDown
neojam
Posts: 35
Joined: April 6th, 2008, 10:43 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by neojam »

Hi guys,
just tested it on my Win7 machine with FF3.6.13 and TD v0.15.
CTRL+HOME, CTRL+END key combos work like they should in forms, though i'm not sure what you mean with "Tab navigation in forms"...
Most prolly some other addon causing the problems.
mpurna77
Posts: 141
Joined: August 9th, 2009, 3:57 pm

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by mpurna77 »

neojam wrote:Hi guys,
just tested it on my Win7 machine with FF3.6.13 and TD v0.15.
CTRL+HOME, CTRL+END key combos work like they should in forms, though i'm not sure what you mean with "Tab navigation in forms"...
Most prolly some other addon causing the problems.



Sorry I forgot to mention i am using 4.0beta version.Its my mistake.
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by ake79 »

Release 0.16 - ChangeLog

Updated for Firefox 4. Dropped support for earlier versions.

Some notes:

  • DownThemAll! minimum version is bumped to 2.0 (beta 5). DownThemAll! 2.0 is not yet available in AMO, so download the latest version from http://www.downthemall.net/.
  • Statusbar has been removed from Firefox 4. It has been replaced with Add-on Bar which is basically just another toolbar (view > toolbars > add-on bar). The idea is that old statusbar elements should be changed into toolbar buttons. I haven't done any changes related to this so the result might a bit sub-optimal. Just something to be aware of.
  • Firefox 4 broke the method I used set default shortcut keys in Windows. The default shortcut keys work in Linux, but probably not in Windows. Check the shortcut key settings in ThumbsDown Options.
Last edited by ake79 on January 9th, 2011, 2:50 pm, edited 1 time in total.
My extensions: Save File to | ThumbsDown
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] ThumbsDown 0.15 - Bulk image downloader - 2010-01-

Post by ake79 »

@neojam
I added option to ignore the "Download folder does not exist" error. Checkbox in the error dialog.
My extensions: Save File to | ThumbsDown
Post Reply