MozillaZine

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

Announce and Discuss the Latest Theme and Extension Releases.
Rainbow8
 
Posts: 9
Joined: March 21st, 2010, 11:28 am

Post Posted September 6th, 2014, 6:59 am

Hello!
I did not get to write the script (
I need to download from this gallery:
http://fotki.yandex.ru/users/babs71/album/206665/
original images like this:
http://img-fotki.yandex.ru/get/9510/51667439.3c3/0_e1470_150fdb73_orig
thumbnail image is:
http://img-fotki.yandex.ru/get/9510/51667439.3c3/0_e1470_150fdb73_S

This don't work:
Code: Select all
thumbsdown:{"version":7,"name":"fotki.yandex","type":"regexp","subType":"thumbnail","thumbnailType":"img","thumbnailPattern":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_S","linkType":"xpath","linkExpr":"@src","action1":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_s","action2":"http://img-fotki.yandex.ru/get/$1/$2/$3_orig"}

Code: Select all
thumbsdown:{"version":7,"name":"fotki.yandex!","type":"regexp","subType":"thumbnail","thumbnailType":"img","thumbnailPattern":"http://img\\-fotki\\.yandex\\.ru/get/\\d+/[^/]+/[^/]+_S\\.(?:png|jpg)","linkType":"normal","action1":"http://img\\-fotki\\.yandex\\.ru/get/\\d+/[^/]+/[^/]+_S\\.(?:png|jpg)","action2":"http://img-fotki.yandex.ru/get/$1/$2/$3_orig.$4"}

Code: Select all
thumbsdown:{"version":7,"name":"img-fotki.yandex.ru_new5","type":"custom","thumbnailType":"img","linkType":"xpath","linkExpr":"@src","linkPattern":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_S","action1":"switch%20(state)%20{\n%20%20case%200:\n%20%20%20%20LOAD(linkUrl.replace(\"_S\",%20\"_orig\"));\n%20%20case%201:\n%20%20%20%20var%20attrName%20=%20\"src\";\n%20%20%20%20var%20attrValuePattern%20=%20\"^http://img\\\\-fotki\\\\.yandex\\\\.ru/get/[.\\\\w]+?/[.\\\\w]+?/[.\\\\w]+?_s.+$\";\n%20%20%20%20var%20re%20=%20new%20RegExp(attrValuePattern);\n%20%20%20%20var%20images%20=%20document.images;\n%20%20%20%20for%20(var%20i%20=%200;%20i%20<%20images.length;%20i++)\n%20%20%20%20%20%20if%20(re.test(images[i][attrName]))\n%20%20%20%20%20%20%20%20RETURN(images[i].src);\n%20%20%20%20break;\n}"}

something I do not understand :-k
Help me please

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

Post Posted September 17th, 2014, 9:24 am

Hi.

And sorry for the delay in answering.

In the first one, you are on the right tracks. What's missing there is the captures. That is, you are not capturing ('\w+' vs. '(\w+)') anything so $1 doesn't have a value.

Here's a fixed version. See how it differs from yours.
Code: Select all
thumbsdown:{"version":7,"name":"fotki.yandex","type":"regexp","subType":"thumbnail","thumbnailType":"img","thumbnailPattern":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_S","linkType":"xpath","linkExpr":"@src","action1":"http://img\\-fotki\\.yandex\\.ru/get/([.\\w]+?)/([.\\w]+?)/([.\\w]+?)_S","action2":"http://img-fotki.yandex.ru/get/$1/$2/$3_orig"}


But this even more simple version:
Code: Select all
thumbsdown:{"version":7,"name":"img-fotki.yandex.ru","type":"direct","thumbnailType":"img","thumbnailPattern":"http://img-fotki\\.yandex\\.ru/get/\\d+/[^/]+/\\w+_S","linkType":"xpath","linkExpr":"concat(substring-before(@src,%20'_S'),%20'_orig')"}
My extensions: Save File to | ThumbsDown

Rainbow8
 
Posts: 9
Joined: March 21st, 2010, 11:28 am

Post Posted September 18th, 2014, 3:45 am

Hi ake79!
You're always helping me! Thank you very much))

Rainbow8
 
Posts: 9
Joined: March 21st, 2010, 11:28 am

Post Posted September 18th, 2014, 11:34 pm

ake79! It is posible to make universal method to download big pictures from instagram lists? Script Wizard silent((
Sample http://instagram.com/hewll

baxter8
 
Posts: 1
Joined: December 8th, 2014, 12:01 pm

Post Posted December 8th, 2014, 12:12 pm

Rainbow8 wrote:Hello!
I did not get to write the script (
I need to download from this gallery:
http://fotki.yandex.ru/users/babs71/album/206665/
original images like this:
http://img-fotki.yandex.ru/get/9510/51667439.3c3/0_e1470_150fdb73_orig
thumbnail image is:
http://img-fotki.yandex.ru/get/9510/51667439.3c3/0_e1470_150fdb73_S

This don't work:
Code: Select all
thumbsdown:{"version":7,"name":"fotki.yandex","type":"regexp","subType":"thumbnail","thumbnailType":"img","thumbnailPattern":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_S","linkType":"xpath","linkExpr":"@src","action1":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_s","action2":"http://img-fotki.yandex.ru/get/$1/$2/$3_orig"}

Code: Select all
thumbsdown:{"version":7,"name":"fotki.yandex!","type":"regexp","subType":"thumbnail","thumbnailType":"img","thumbnailPattern":"http://img\\-fotki\\.yandex\\.ru/get/\\d+/[^/]+/[^/]+_S\\.(?:png|jpg)","linkType":"normal","action1":"http://img\\-fotki\\.yandex\\.ru/get/\\d+/[^/]+/[^/]+_S\\.(?:png|jpg)","action2":"http://img-fotki.yandex.ru/get/$1/$2/$3_orig.$4"}

Code: Select all
thumbsdown:{"version":7,"name":"img-fotki.yandex.ru_new5","type":"custom","thumbnailType":"img","linkType":"xpath","linkExpr":"@src","linkPattern":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_S","action1":"switch%20(state)%20{\n%20%20case%200:\n%20%20%20%20LOAD(linkUrl.replace(\"_S\",%20\"_orig\"));\n%20%20case%201:\n%20%20%20%20var%20attrName%20=%20\"src\";\n%20%20%20%20var%20attrValuePattern%20=%20\"^http://img\\\\-fotki\\\\.yandex\\\\.ru/get/[.\\\\w]+?/[.\\\\w]+?/[.\\\\w]+?_s.+$\";\n%20%20%20%20var%20re%20=%20new%20RegExp(attrValuePattern);\n%20%20%20%20var%20images%20=%20document.images;\n%20%20%20%20for%20(var%20i%20=%200;%20i%20<%20images.length;%20i++)\n%20%20%20%20%20%20if%20(re.test(images[i][attrName]))\n%20%20%20%20%20%20%20%20RETURN(images[i].src);\n%20%20%20%20break;\n}"}

something I do not understand :-k
Help me please


I have a similar problem. I have been trying to download the full size images from the same site (fotki.yandex.ru) and I have tried to copy the instructions given to Rainbow8, but I have not been able to make it work. I have been pasting the scripts given into the search bar but, the Thumbsdown icon still turns red when I visit the page in question.
Please help me. What am I doing wrong?

eloriam
 
Posts: 16
Joined: July 18th, 2006, 12:57 pm

Post Posted March 20th, 2015, 3:50 am

I would like the pictures to be saved on different directories based on the name of the page, if possible.

Thanks.

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

Post Posted April 1st, 2015, 8:40 am

Release 0.22.3 - ChangeLog - Download

* Fixed breakage caused by API changes.
My extensions: Save File to | ThumbsDown

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

Post Posted April 1st, 2015, 8:55 am

Rainbow8 wrote:ake79! It is posible to make universal method to download big pictures from instagram lists? Script Wizard silent((
Sample http://instagram.com/hewll


Not at the moment. Let's see if I can add support for that. No promises.
My extensions: Save File to | ThumbsDown

Rainbow8
 
Posts: 9
Joined: March 21st, 2010, 11:28 am

Post Posted May 9th, 2015, 6:03 am

ake79 wrote:
Rainbow8 wrote:ake79! It is posible to make universal method to download big pictures from instagram lists? Script Wizard silent((
Sample http://instagram.com/hewll


Not at the moment. Let's see if I can add support for that. No promises.


Oh, thank you for your answer and give hope! ;) It will be very cool!!! :D
because many galleries now use scripts, through which it became difficult to get to the desired file ](*,) [-X :-k

gamerboy
 
Posts: 1
Joined: August 25th, 2015, 7:05 pm

Post Posted August 25th, 2015, 7:16 pm

Hi,

I tried my best to download all the images in
https://picasaweb.google.com/1015866538 ... PravsWorld.
I could create the Pattern regex but the Template is giving me a hard time (I am not sure if I am doing it correct)
The Pattern is
https://picasaweb\.google\.com/101586653871353923228/PravsWorld#536641\d+
which successfully matches the links.

For the Template, the urls are complicated for me as I cant use any parts from Link regex.
For example, the Image url for Link : https://picasaweb.google.com/1015866538 ... 6308877858 is:
https://lh3.googleusercontent.com/-pjcu ... 25255D.jpg
Can you please help.
Thanks in advance.

eloriam
 
Posts: 16
Joined: July 18th, 2006, 12:57 pm

Post Posted March 13th, 2016, 3:59 am

The extension doesn't seem to work anymore. Maybe the new update from Firefox has broken it.

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

Post Posted March 14th, 2016, 8:49 am

Yep, it's broken at the moment due to changes in Firefox. I'm planning to fix it, but I've been busy lately.

https://bitbucket.org/atte-kemppila/thumbsdown/issues/4
My extensions: Save File to | ThumbsDown

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

Post Posted March 29th, 2016, 8:34 am

Release 0.22.5 - ChangeLog - Download

* Fixed breakage caused by Firefox syntax and API changes.

Due to a crashing bug Firefox, 0.22.5 works only in ff46/ff47 (beta/dev-edition), not in current release ff45. More info here: issue 4
My extensions: Save File to | ThumbsDown

gutzo
New Member
 
Posts: 1
Joined: July 26th, 2017, 2:19 pm

Post Posted July 26th, 2017, 2:21 pm

will there be newer versions of this addon? or is this project dropped? is there a good replacement for thumbsdown? it was really good.

Rainbow8
 
Posts: 9
Joined: March 21st, 2010, 11:28 am

Post Posted October 28th, 2017, 6:04 pm

gutzo wrote:will there be newer versions of this addon? or is this project dropped? is there a good replacement for thumbsdown? it was really good.

+1111

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 4 guests