JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 30.12.2012, 12:02
gabriel91g
Guest
 
Posts: n/a
Default Download with RD instead of the real host

Hi there and thanks for your work

Today I installed JDownloader 2 and tried to download from netload, speedload and uptobox via Real Debrid with JDownloader.

The problem is that I cannot do this (or at least I don't know how), because when I paste the links they are automatically downloaded with default plugin (netload, speedload and uptobox ) instead of Real Debrid.

I already set up the RD account in the settings page.

Any idea to do so?

ThankYou so much
Reply With Quote
  #2  
Old 30.12.2012, 12:13
eus
Guest
 
Posts: n/a
Default

The idea is welcome, i Like.
This is in progress, just wait to be complete.
Reply With Quote
  #3  
Old 30.12.2012, 12:21
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,684
Default

@eus
what?

@gabriel91g
a) if the hostmask is missing from the api supported hoster list it wont even try (realdebrid might have removed them)
b) if jd tries and fails, for what ever reason it can remove said hoster from the supported hoster list for a period of time as the hoster has reported issues which can not be resolved. It does this to move onto the next method of download, say if you have multiple premium accounts on different multihosters.

I have made some improvements to real debrid plugin but I need to test it more. Realdebrid has so many temperamental problems it's hard to know what's best...
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #4  
Old 30.12.2012, 12:26
gabriel91g
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by raztoki View Post
a) if the hostmask is missing from the api supported hoster list it wont even try (realdebrid might have removed them)
The previous host are working from **External links are only visible to Support Staff****External links are only visible to Support Staff**

Quote:
Originally Posted by raztoki View Post
b) if jd tries and fails, for what ever reason it can remove said hoster from the supported hoster list for a period of time as the hoster has reported issues which can not be resolved. It does this to move onto the next method of download, say if you have multiple premium accounts on different multihosters..
How should I know if RD has been temporarily paused?
Reply With Quote
  #5  
Old 30.12.2012, 13:24
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,684
Default

a)
we use "/api/hosters.php"

b)
you do not get any notification.
It just removes that given host from the support hosts array.

It then moves onto the next download method which would be either another multihoster or hoster download methods. No method to disable this nor method to prefer a real hoster premium account vs multihoster account
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #6  
Old 30.12.2012, 14:22
gabriel91g
Guest
 
Posts: n/a
Default

I can suggest you to take a look into this **External links are only visible to Support Staff****External links are only visible to Support Staff**

It's the actual plugin released from RealDebrid staff. I already decompiled it and it seems to be really simple.

I think you can check the host from the list you linked me and than use the system already used in that plugin.

But, the question is: if you wrote me that the plugin check the host in that hosters.php page (that has netload.in), why it removes the real debrid plugin from the host array?
Reply With Quote
  #7  
Old 30.12.2012, 20:07
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,684
Default

I'll have a look when find my java decompiler.

As I've already explained read all my responses regarding part b)
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #8  
Old 30.12.2012, 20:24
gabriel91g
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by raztoki View Post
I'll have a look when find my java decompiler.
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #9  
Old 30.12.2012, 20:42
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,684
Default

Code:
if(con.getResponseCode() == 204)
        {
            con.disconnect();
            link.setChunksProgress(null);
            throw new PluginException(2048, "Please reduce the number simultaneous downloads to download without problems (Recommended parameter: 2)");
        }
        if(!con.getHeaderField("Accept-Ranges").contains("bytes"))
        {
            dl.setChunkNum(1);
            dl.setResume(false);
            logger.fine("real-debrid.com (stable): set number of chunks to 1");
        }
        if(dl.getChunkNum() > 8)
            dl.setChunkNum(8);
        logger.fine("real-debrid.com (stable): download started!");
        dl.startDownload();
the above code about the only stuff we don't already have implemented within the JD2 plugin.
They seem to love throwing error codes via http headers isn't the best for the user, as it's next to impossible to determine what is what. I'll add support for 204, and with accept-range JD2 auto handles that. I haven't ever seen issue with chunking over and above 8. Maybe I'll contact them again and see if I can get any response.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #10  
Old 04.01.2013, 11:14
gabriel91g
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by raztoki View Post
Code:
if(con.getResponseCode() == 204)
        {
            con.disconnect();
            link.setChunksProgress(null);
            throw new PluginException(2048, "Please reduce the number simultaneous downloads to download without problems (Recommended parameter: 2)");
        }
        if(!con.getHeaderField("Accept-Ranges").contains("bytes"))
        {
            dl.setChunkNum(1);
            dl.setResume(false);
            logger.fine("real-debrid.com (stable): set number of chunks to 1");
        }
        if(dl.getChunkNum() > 8)
            dl.setChunkNum(8);
        logger.fine("real-debrid.com (stable): download started!");
        dl.startDownload();
the above code about the only stuff we don't already have implemented within the JD2 plugin.
They seem to love throwing error codes via http headers isn't the best for the user, as it's next to impossible to determine what is what. I'll add support for 204, and with accept-range JD2 auto handles that. I haven't ever seen issue with chunking over and above 8. Maybe I'll contact them again and see if I can get any response.
Have you tried if the plugin works with these few lines more?
Reply With Quote
  #11  
Old 05.01.2013, 23:04
aireca
Guest
 
Posts: n/a
Default

I was about to report the same, the plugin just works 1 time, i think the bug happen if you reset a download, even if you restart jdownloader, it just never works again, jdownloader will try to use the real hoster, instead of the real debrid plugin

Last edited by aireca; 05.01.2013 at 23:10.
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 15: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 - 2025, Jelsoft Enterprises Ltd.