[Ext] ThumbsDown 0.22.5 - Bulk image downloader - 2016-03-28
-
- Posts: 4
- Joined: January 29th, 2013, 11:35 am
Re: [Ext] ThumbsDown 0.21.1 - Bulk image downloader - 2013-0
First, great add-on, keep up the good work!
Second, I'm trying to figure out, how to use a custom script with redirect. (The page, for which I need it, has thumbnails, which link to a page with a resized version, i.e. xyz.jpg.html, but for the full sized image, I have to add a query string to that url, i.e. xyz.jpg.html?g2_imageViewsIndex=1). The user guide tells me the following: "Hands over image URL resolving task to another script." Now how is this "other" script determined? Or how can I specify/write this "other" script? Nevertheless I gave it a try and all i got was "Error: REDIRECT() is not supported".
Second, I'm trying to figure out, how to use a custom script with redirect. (The page, for which I need it, has thumbnails, which link to a page with a resized version, i.e. xyz.jpg.html, but for the full sized image, I have to add a query string to that url, i.e. xyz.jpg.html?g2_imageViewsIndex=1). The user guide tells me the following: "Hands over image URL resolving task to another script." Now how is this "other" script determined? Or how can I specify/write this "other" script? Nevertheless I gave it a try and all i got was "Error: REDIRECT() is not supported".
-
- Posts: 4
- Joined: January 29th, 2013, 11:35 am
Re: [Ext] ThumbsDown 0.21.1 - Bulk image downloader - 2013-0
Stupid me. Didn't need redirect at all. Just concatinated the query string to the url when loading the document during case 0. Rest worked quite will with XPATH.
Nevertheless, would still be nice to know, how exactly redirect works.
Nevertheless, would still be nice to know, how exactly redirect works.
-
- Posts: 1344
- Joined: February 17th, 2007, 6:05 am
Re: [Ext] ThumbsDown 0.21.1 - Bulk image downloader - 2013-0
REDIRECT() was originally designed to help with "frame wrap image hosts". That is, "image hosts" that wrapped other image hosts in html frame in order to show ads of their own.
Basically you would have script for that proper image host (A) and another script with REDIRECT() for that frame wrap image host (X). X script would find out where the frame url points and REDIRECT() it. ThumbsDown would then look up script A based on that frame url and use it as the link url for script A. No need to duplicate the logic for A in script X, just redirect to it. This was especially helpful when X randomly used 2 different image hosts in its frame.
Anyway, I removed the support for REDIRECT() sometime during development of 0.21 when I rewrote parts of the script evaluation code. I haven't run into these frame wrap image hosts in a while, so I haven't had the need restore it. If there's a need for REDIRECT(), file a bug.
(I updated the Custom script function section in User Guide.)
Basically you would have script for that proper image host (A) and another script with REDIRECT() for that frame wrap image host (X). X script would find out where the frame url points and REDIRECT() it. ThumbsDown would then look up script A based on that frame url and use it as the link url for script A. No need to duplicate the logic for A in script X, just redirect to it. This was especially helpful when X randomly used 2 different image hosts in its frame.
Anyway, I removed the support for REDIRECT() sometime during development of 0.21 when I rewrote parts of the script evaluation code. I haven't run into these frame wrap image hosts in a while, so I haven't had the need restore it. If there's a need for REDIRECT(), file a bug.
(I updated the Custom script function section in User Guide.)
My extensions: Save File to | ThumbsDown
-
- Posts: 4
- Joined: January 29th, 2013, 11:35 am
Re: [Ext] ThumbsDown 0.21.1 - Bulk image downloader - 2013-0
I created another firefox profile. After installing thumbsdown, I can't access my scripts on the other profile. Where are these stored, so I can copy/move my scripts to the other profile?
-
- Posts: 1344
- Joined: February 17th, 2007, 6:05 am
Re: [Ext] ThumbsDown 0.21.1 - Bulk image downloader - 2013-0
Scripts are stored in profile folder in thumbsdown.sqlite file. Just copy the file to another profile. Firefox restart may be required.
My extensions: Save File to | ThumbsDown
-
- Posts: 4
- Joined: January 29th, 2013, 11:35 am
Re: [Ext] ThumbsDown 0.21.1 - Bulk image downloader - 2013-0
Worked like a charm! Thanks a lot!
-
- Posts: 1344
- Joined: February 17th, 2007, 6:05 am
Re: [Ext] ThumbsDown 0.22 - Bulk image downloader - 2013-03-
Release 0.22 - ChangeLog - Download
* Fixed issue 17 - Support DownThemAll! 3.0 (first betas are out).
* Added image guessing to Script Wizard.
EDIT: Released 0.22.1. Only translation were updated.
EDIT2: Released 0.22.2. Fixed breakage caused by API changes.
* Fixed issue 17 - Support DownThemAll! 3.0 (first betas are out).
* Added image guessing to Script Wizard.
EDIT: Released 0.22.1. Only translation were updated.
EDIT2: Released 0.22.2. Fixed breakage caused by API changes.
Last edited by ake79 on April 1st, 2015, 8:44 am, edited 3 times in total.
My extensions: Save File to | ThumbsDown
-
- New Member
- Posts: 1
- Joined: May 21st, 2013, 8:23 pm
Re: [Ext] ThumbsDown 0.22.1 - Bulk image downloader - 2013-0
Anyone have any experience running this will google images? I can't for the life of me figure out the regex. Played with the regex, and got a nice way to parse html:
(?<=imgurl=).*?(?=&)
but the expression wont work in thumbsdown...
(?<=imgurl=).*?(?=&)
but the expression wont work in thumbsdown...
-
- Posts: 2
- Joined: July 4th, 2013, 9:32 am
Re: [Ext] ThumbsDown 0.22 - Bulk image downloader - 2013-03-
Let me start by saying that this is a great extension
I am currently using 0.22.2 with Firefox portable. Previously I had successfully used Thumbsdown with the regular Firefox. Now everything seems to set up OK as I have created the necessary script, but I cannot select any thumbnails, either using select all or individually, after I activate Thumbsdown for the current tab. The only possible issues that I see are: (1) that script runner is not showing the created script, although it shows in script manager and (2) that I am running Noscript, although I have Noscript set to allow all scripts on the page.
What am I missing? I have reviewed the user guide and cannot find anything I have failed to do and I cannot find anything in the forum related to this issue.
Thanks for any help that anyone can provide.
I am currently using 0.22.2 with Firefox portable. Previously I had successfully used Thumbsdown with the regular Firefox. Now everything seems to set up OK as I have created the necessary script, but I cannot select any thumbnails, either using select all or individually, after I activate Thumbsdown for the current tab. The only possible issues that I see are: (1) that script runner is not showing the created script, although it shows in script manager and (2) that I am running Noscript, although I have Noscript set to allow all scripts on the page.
What am I missing? I have reviewed the user guide and cannot find anything I have failed to do and I cannot find anything in the forum related to this issue.
Thanks for any help that anyone can provide.
-
- Posts: 1344
- Joined: February 17th, 2007, 6:05 am
Re: [Ext] ThumbsDown 0.22.2 - Bulk image downloader - 2013-0
Thanks.
I installed Portable Firefox to hard drive and tried to download the 3 images from ThumbsDown User Guide's "Direct" section [1]. It worked fine.
So, try if you are to able to download those same 3 images. You can create the script using Script Wizard.
If that worked, are you 100% sure that your original script is correct? Does it work in normal Firefox?
If all else fails, install Console2 [2] (Tools > Web Developer > Error Console), toggle on all errors and see if there's anything relevant.
[1] https://code.google.com/p/thumbsdown/wi ... ide#Direct
[2] https://addons.mozilla.org/en-us/firefo ... ole%C2%B2/
I installed Portable Firefox to hard drive and tried to download the 3 images from ThumbsDown User Guide's "Direct" section [1]. It worked fine.
So, try if you are to able to download those same 3 images. You can create the script using Script Wizard.
If that worked, are you 100% sure that your original script is correct? Does it work in normal Firefox?
If all else fails, install Console2 [2] (Tools > Web Developer > Error Console), toggle on all errors and see if there's anything relevant.
[1] https://code.google.com/p/thumbsdown/wi ... ide#Direct
[2] https://addons.mozilla.org/en-us/firefo ... ole%C2%B2/
My extensions: Save File to | ThumbsDown
-
- Posts: 2
- Joined: July 4th, 2013, 9:32 am
Re: [Ext] ThumbsDown 0.22.2 - Bulk image downloader - 2013-0
Ake79:
My apologies; the script was the problem, although it passed the RegExp Test Tool. When it passed the Tool, I was confident that the script was correct - bad on me. Well I learned my lesson.
Thanks
My apologies; the script was the problem, although it passed the RegExp Test Tool. When it passed the Tool, I was confident that the script was correct - bad on me. Well I learned my lesson.
Thanks
-
- Posts: 9
- Joined: March 21st, 2010, 11:28 am
Re: [Ext] ThumbsDown 0.22.2 - Bulk image downloader - 2013-0
Hello!
How can i download big pictures from this gallery: http://veramundis.deviantart.com/gallery/
thumbnail link: http://th09.deviantart.net/fs71/200H/f/ ... 6sb23z.png
LargePic link: http://th09.deviantart.net/fs71/PRE/f/2 ... 6sb23z.png
BigPic link: http://fc00.deviantart.net/fs71/f/2013/ ... 6sb23z.png
the challenge is to find the right value of "fc##"
no idea how to write the expresion in such cases ...
Help me, please
How can i download big pictures from this gallery: http://veramundis.deviantart.com/gallery/
thumbnail link: http://th09.deviantart.net/fs71/200H/f/ ... 6sb23z.png
LargePic link: http://th09.deviantart.net/fs71/PRE/f/2 ... 6sb23z.png
BigPic link: http://fc00.deviantart.net/fs71/f/2013/ ... 6sb23z.png
the challenge is to find the right value of "fc##"
no idea how to write the expresion in such cases ...
Help me, please
-
- Posts: 1344
- Joined: February 17th, 2007, 6:05 am
Re: [Ext] ThumbsDown 0.22.2 - Bulk image downloader - 2013-0
This worked for me:
To install the above script, copy it (it's one line) to Firefox's address bar and press Enter. Then just confirm to save it.
After that you can download images normally: http://code.google.com/p/thumbsdown/wik ... uide#Usage
Code: Select all
thumbsdown:{"version":7,"name":"deviantart.com","type":"regexp","subType":"thumbnail","thumbnailType":"img","thumbnailPattern":"http://th\\d+\\.deviantart\\.net/fs7\\d+/200H/\\w+/\\d+/\\d+/\\w+/\\w+/[^/]+\\.(?:png|jpg)","linkType":"normal","action1":"http://th(\\d+)\\.deviantart\\.net/fs(\\d+)/200H/(\\w+)/(\\d+)/(\\d+)/(\\w+)/(\\w+)/([^/]+)\\.(png|jpg)","action2":"http://fc$1.deviantart.net/fs$2/$3/$4/$5/$6/$7/$8.$9"}
To install the above script, copy it (it's one line) to Firefox's address bar and press Enter. Then just confirm to save it.
After that you can download images normally: http://code.google.com/p/thumbsdown/wik ... uide#Usage
My extensions: Save File to | ThumbsDown
-
- Posts: 1344
- Joined: February 17th, 2007, 6:05 am
Re: [Ext] ThumbsDown 0.22.2 - Bulk image downloader - 2013-0
Hmm... I guess I should make new version to fix various minor broken things in the add-on caused by changes in Firefox.
My extensions: Save File to | ThumbsDown
-
- Posts: 9
- Joined: March 21st, 2010, 11:28 am
Re: [Ext] ThumbsDown 0.22.2 - Bulk image downloader - 2013-0
ake79 wrote:This worked for me:...
YES! it works for me too! Thank you very much!