JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.06.2019, 11:35
ecclessia ecclessia is offline
Modem User
 
Join Date: Jun 2019
Posts: 2
Default Deviantart plugin works incorrectly.

Since deviantart had introduced new site design, plugin now downloads only deviantart logo instead of pictures itself. Also there are two more problems - when i try to put link to gallery to parse, i got error message, so i have to keep adding same link 2-8 times until it would start parsing process (that has began several days before new site design introduction). Also sometimes already parsed pics give message about plugin being too old, but after 1-5 force download startings they begin downloading and was downloaded correctly (also, this was several days before new site design was introdicted.) Flash (*.swf files) just say, that plugin is too old and refuse to be downloaded at all. Please, restore plugin work.
Reply With Quote
  #2  
Old 27.06.2019, 11:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,945
Default

New layout/site design is nearly fully incompatible to old layout/site design. Plugins needs a full revisit

__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 27.06.2019, 12:17
ecclessia ecclessia is offline
Modem User
 
Join Date: Jun 2019
Posts: 2
Default

Technically, old site design still exists, but by default new design is loaded, and it requires to press the switch on top panel of new design to switch to the old one. And (at least in browser) switch doesn't always works correctly. Hope that info would help.
Reply With Quote
  #4  
Old 28.06.2019, 09:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,945
Default

Problem is that there is no *switch to old* button. That's only available when logged in. In normal mode it's random/depending on artist if you see old/new layout
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 14.07.2019, 05:31
mwl mwl is offline
JD Beta
 
Join Date: Mar 2013
Posts: 53
Default

Apologies for bumping someone else's report thread, but if it helps other users I have this EventScript that will find cases where the logo has been downloaded instead of the deviation and reset them. I have it set to run on an Interval trigger every 6 hours (21600000ms) so it can pick up any downloads that are again incorrectly downloaded after being reset. My first run found around 28000 failures, dating back to mid-June.

Code:
var logFile = JD_HOME + "/da_reset.log";

function log(message) {
    writeFile(logFile, '[' + new Date().toISOString() + '] ' + message, true);
}

// If downloads are running find those that:
// 1. match the size of the logo file (most selective)
// 2. on deviantart (just in case)
// 3. have a status text of "Finished"
if (isDownloadControllerRunning() && !isDownloadControllerStopping()) {
    log('Download controller running, attempting to reset links ...');
    var candidates = getAllDownloadLinks().filter(function(dl) {
        return dl.getBytesTotal() === 10648 && dl.getUrl().indexOf('deviantart') !== -1 && dl.getStatus() != null && dl.getStatus().equals('Finished');
    });

    log('Number of possible broken downloads found: ' + candidates.length.toString());

    for (var i = 0; i < candidates.length; i++) {
        log('Resetting item ' + (i + 1).toString());
        candidates[i].reset();
    }
    log('Reset job complete.');
}
Reply With Quote
  #6  
Old 15.07.2019, 10:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,945
Default

@mwl: thanks for sharing your script. Deviantart did not good with this new layout. Reading many artists blog and it seems many aren't very happy with the new (limited) layout.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 05.08.2019, 04:08
netgearjd netgearjd is offline
JD Fan
 
Join Date: Aug 2014
Posts: 77
Default

Please fix this ASAP! Now JD is not able to find any full-sized images properly. I either get a "plugin defect (sic)" error, or the site logo image, or after retrying many, many times I only get the smaller JPGs instead of the full-sized images (JPGs/PNGs). :(
Reply With Quote
  #8  
Old 05.08.2019, 15:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,945
Default

@netgearjd: please provide example links
seems deviantart finally changed layout to new one for everyone.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 16.08.2019, 21:03
mwl mwl is offline
JD Beta
 
Join Date: Mar 2013
Posts: 53
Default

An update on this:
As of around 1800 UTC on Wednesday, all linkgrabbers fail, but links already in the queue download successfully.

I've noticed that in the page source for the old version, there's a link to the new version, but in the new version it's a <div> with a click event which doesn't appear to send a URL at all.

There is an API (deviantart.com/developers/http/v1/20160316) and it appears to be able to get most things, but it will require parsing the URL to get the correct parameters, and grabbing individual folders may be an issue. For instance, while playing around with it I wasn't able to resolve the "Scraps" folder for a user using the /folders call. OAuth authentication flows might require to do something similar to what happens for reCaptcha to get initial credentials.

//edit
I'm currently looking at github.com/KarsonKimbrel/DeviantArt-OAuth2-Java to see if this is something that could be used.

Last edited by mwl; 16.08.2019 at 22:31. Reason: add API reference
Reply With Quote
  #10  
Old 16.08.2019, 21:54
mwl mwl is offline
JD Beta
 
Join Date: Mar 2013
Posts: 53
Default

OK, in the browser when logged in, this seems to work:

Prepending the URL with **External links are only visible to Support Staff****External links are only visible to Support Staff** (e.g. **External links are only visible to Support Staff****External links are only visible to Support Staff**) will bring up the version opposite that which was just served up - so if you get the new version that will give you the old, and vice versa. From a fresh session logging in, defaulting to the new version, this method takes me directly to the old version.

Not sure if this is of any use, but I hope it helps.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 23:30.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.