Good job!
Even though I'm not working a lot with JS you created some nicely readable code with documentation and errorhandling.
A few suggestions when it comes to poosting this in our forums:
- I recommend putting in in a github.com repo (or similar) so you can maintain it easier and other users can follow easier. Also IK'm quite sure that this one will not be the final version of that script

- If you wish to keep the code directly in your post in our forums, I recommend to at least additionally putting it into a pastbin service like pastebin.com and link it here so that our forum URL-censor cannot potentially mess with the syntax of that script -> When quickly looking over it though, it doesn't seem like our forum broke any of the syntax so far.
Quote:
Originally Posted by hishtnik011
When downloading exclusively photos like this, you can speed up the process by going to Jdownloader, Settings, Advanced Settings, Linkcollector: Do Link Check
and unticking its checkbox. Then restart Jdownloader.
|
You can remove this part from your instructions.
The restart is not needed anymore though it used to be required in the past.
Whenever you're changing settings that require a restart, JDownloader will let you know this in a dialog box.
Quote:
Originally Posted by hishtnik011
It also has the potential not to include the file extension with a few image hosts.
|
While this is correct, I'd nearly call this a design flaw of JD or let's call it a missing feature:
By using the Packagizer rule, the final filename will be set regardless of whether or not a file-extension is present.
It's like when you modify filenames inside JDownloader: You will force it to use those.
Now it would probably be nice if we had a setting like "correct/add file-extension whenever it is missing" because for most of all cases, the file-extension will be given via the Content-Type header when starting the download.
This feature would preserver the previously set file-title and only touch the file-extension.
At this moment this is not possible though and the file-extension will be missing in such cases.