JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12.09.2020, 21:11
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default Plugin for erai-raws.info / erai-ddl3.info

Erai-raws hosts anime and recently updated their DDL section. Now, all downloads are token-based, but you don't get the token until you try to access the download link through your browser, at which point that token becomes invalid for JDownloader.

What I am looking for is for JDownloader to support download links from Erai-raws and get the tokenized download and, well, download the file.

Here is an example of a download page from one of their releases:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

There is a free download and a premium download. Waiting the 10 seconds (or 5 seconds if you have a free account) will generate a download link, which when clicked will start the download. Entering this link in JDownloader currently just gives you 2 Javascript files, while I am hoping it will give you the actual file to download, much like clicking the link in the browser would.

There shouldn't be a need for a premium account in this case, as free (and even account-less) members can access downloads just fine, just with a wait time and speed limitations.
Reply With Quote
  #2  
Old 14.09.2020, 16:22
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

Hi,

plugin done!
Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 14.09.2020, 23:45
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

That was fast! Thank you!

I tried it out and it works perfectly!

It loops a few times of waiting for 10 seconds before starting, but I imagine that's from using multiple connections to the download?
Reply With Quote
  #4  
Old 15.09.2020, 18:39
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

It should wait about 10 seconds once and then start downloading.
You can re-check this via browser - maybe the number of wait loops depend on country (IP) but I don't think so.

Also check if it works better when not using so many connectios/simultaneous downloads - try with 1 first.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 15.09.2020, 21:21
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Quote:
Originally Posted by pspzockerscene View Post
It should wait about 10 seconds once and then start downloading.
You can re-check this via browser - maybe the number of wait loops depend on country (IP) but I don't think so.

Also check if it works better when not using so many **External links are only visible to Support Staff**... downloads - try with 1 first.
I just tried again today, and this time it only waited once. Not sure what caused it to loop the other day (maybe I just saw it wrong?), though I did add my account this time around, so maybe that's different?

No idea, but it works without a hitch now, so I am perfectly content! Thanks again!
Reply With Quote
  #6  
Old 16.09.2020, 16:38
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

Thanks for your feedback!

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #7  
Old 10.11.2020, 23:17
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Erai-raws recently changed their DDL section again and switched to a new system. Links are still recognized and it can even "find" the video when copying a download link. However, upon starting a download, it gives an error.

I believe this is due to the account system not working anymore. I believe accounts (which are still free) are now required, and JDownloader2 doesn't recognize the account details anymore due to Erai-raws switching to a whole new system.

Here is an example download link:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Can someone help with this?
Reply With Quote
  #8  
Old 11.11.2020, 16:14
Narsos Narsos is offline
Modem User
 
Join Date: Nov 2020
Posts: 1
Default

Hey, just to let you know they change the website and the plugin not working anymore.

Thank you.
Reply With Quote
  #9  
Old 11.11.2020, 16:48
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

I've fixed the availablecheck- and account login and added errorhandling for the case "Account required to download this file" but I was unable to download anything with my free test-account.
I wasn't even able to upload testfiles with my test-account ...
If you find a working way to download from this website, please let me know.

For all mentioned changes in this post, please read the following:

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
EDIT

By removing the subdomain, I can see a download page but it redirects me to the mainpage after 10 seconds of pre-download-waittime.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Last edited by pspzockerscene; 11.11.2020 at 16:51.
Reply With Quote
  #10  
Old 11.11.2020, 16:56
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

I actually can't even get the account working at all, still. If I enter my account details in JDownloader 2, it just says "Logins wrong". I've double and even triple-checked the username and password

I also made sure I was on the latest version of JDownloader

I can login through the website (using Firefox, if that matters) just fine and even start a download with no problems
Reply With Quote
  #11  
Old 11.11.2020, 16:59
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

Quote:
Originally Posted by Poliana View Post
I actually can't even get the account working at all, still. If I enter my account details in JDownloader 2, it just says "Logins wrong". I've double and even triple-checked the username and password
Please re-read my above post!

Quote:
Originally Posted by Poliana View Post
I also made sure I was on the latest version of JDownloader
Please re-read my above post (regarding updates ...)

Quote:
Originally Posted by Poliana View Post
I can login through the website (using Firefox, if that matters) just fine and even start a download with no problems
As said, I was unable to start any downloads, even via account.
If it really works with your account, I may need to re-check it with your account.
If you are willing to help, please send your login credentials for this website to: support@jdownloader.org .

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #12  
Old 11.11.2020, 17:06
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

I did read the post, and now re-read it, and I presume you're hinting at that the update hasn't been pushed yet? Because the FAQ you linked mentions it'll be available 0-5 minutes after being pushed, and to check whether the update has been pushed. I have no idea how to check what update that is, though. It simply says to "Check against the revision that contains the changes you are waiting for", but... where exactly? If I try to check https://svn.jdownloader.org/ I have no way to sign up, and the login credentials I have for the board don't seem to work there

Anyway, that's a bit of a tangent. My apologies if this just complicates matters. I will shortly send you my account details
Reply With Quote
  #13  
Old 11.11.2020, 17:14
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

Quote:
Originally Posted by Poliana View Post
I did read the post, and now re-read it, and I presume you're hinting at that the update hasn't been pushed yet?
Yes.
Quote:
Originally Posted by Poliana View Post
Because the FAQ you linked mentions it'll be available 0-5 minutes after being pushed, and to check whether the update has been pushed. I have no idea how to check what update that is, though. It simply says to "Check against the revision that contains the changes you are waiting for", but... where exactly? If I try to check https://svn.jdownloader.org/ I have no way to sign up, and the login credentials I have for the board don't seem to work there
The process is described in point 3 of that FAQ.
It shows how you can see your revision and the current released one is linked on the beginning of the article.
Please let me know if that is too hard to understand and I'll try to update that article accordingly.

Quote:
Originally Posted by Poliana View Post
Anyway, that's a bit of a tangent. My apologies if this just complicates matters. I will shortly send you my account details
Okay.

I've tested it another two times with my account and I was still unable to download anything.
After 10 seconds of pre-download-waittime, it just throws me back to their main page even with adblock disabled.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #14  
Old 11.11.2020, 17:14
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Oh, sorry for the double post, but my previous reply hasn't been approved yet and I found out where some of the confusion came from.

Apparently, the so-called page link is just... broken. No idea why. To get the download (in a browser), you have to navigate to one of the folders, like this one:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Then you should see a list of files. Clicking any should bring you to a download, with a download button to the right that should work. The page link you see there should refer to the current page, but it simply doesn't, for some reason

Hopefully that can help?
Reply With Quote
  #15  
Old 11.11.2020, 17:34
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

Hm indeed it is working in the context of that folder.

Also, I cannot see any files in the folder without login but when I'm logged in into my free test-account, I can see all of them.
Is this a bug or is it supposed to be like that?
Also, indeed the download is working in the context of that folder but not when trying to access- and download single files ...

-psp-
EDIT

This will definitely require a lot of more work for which I won't find the time today!
I've created a ticket:

__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Last edited by pspzockerscene; 11.11.2020 at 17:38.
Reply With Quote
  #16  
Old 11.11.2020, 17:45
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Knowing Erai, I am fairly sure it's supposed to work like that, that only registered users can see files. But I feel the broken page link is possibly a bug.

I also forgot to clarify, not being able to upload anything is also "how it's supposed to work". They simply use this platform to release their anime episodes, so they disabled user uploads.

I honestly don't know how else I can help. I hope you can somehow figure out how to make this work. It's almost aggravating that the link is correctly recognized, but it just fails the download. It's so close! Why does Erai have to make things so complicated?

Also, about this:

Quote:
It shows how you can see your revision and the current released one is linked on the beginning of the article.
Please let me know if that is too hard to understand and I'll try to update that article accordingly.
It completely flew over my head that the current revision is mentioned at the top of the article. Maybe mention at step 4b that the current revision is at the top of the article?
Reply With Quote
  #17  
Old 11.11.2020, 18:20
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

Quote:
Originally Posted by Poliana View Post
It completely flew over my head that the current revision is mentioned at the top of the article. Maybe mention at step 4b that the current revision is at the top of the article?
Thanks for your feedback - I've just updated step 4b of that article accordingly - I hope it is better now

Quote:
Originally Posted by Poliana View Post
Oh, and this'll be a double post, but I feel it's important to say. Thank you for your hard work! I saw your edit, and I am going to patiently wait for progress on that ticket
Thanks - I hope I'll find time for this within the current week ...
As said, that may take some hours as they were basically using a template ... but they've modified it now to be completely custom which means what I need to do to implement this will be more a complete rewrite than a "simple bugfix".

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #18  
Old 11.11.2020, 17:48
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Oh, and this'll be a double post, but I feel it's important to say. Thank you for your hard work! I saw your edit, and I am going to patiently wait for progress on that ticket
Reply With Quote
  #19  
Old 12.11.2020, 03:33
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,432
Default

Couldn't sleep -> You're lucky
I already got it working here but this will have to wait until later as it still needs some improvements.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #20  
Old 12.11.2020, 18:11
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

That's awesome! Thank you very much!
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 20:28.
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 - 2021, Jelsoft Enterprises Ltd.