JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #41  
Old 26.11.2020, 15:15
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

I have a question which is related to this, but is also a bit more general. Again, a bit of a minor question that I feel doesn't warrant its own thread

Is there a way to have JDownloader automatically remove every file from a package except the last? Because when I copy a folder link now it (obviously) grabs all files and I manually have to delete all files but the last one. Obviously not a big deal, but if it can be automated, that'd be great.

I looked at the packagizer settings (which I already use for various other things; great tool), but I can't find anything that could help me out here
Reply With Quote
  #42  
Old 26.11.2020, 15:31
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,611
Default

The Packagizer isn't suitable for this.

What you want needs more logic than what is easily possible via our GUI.
You could realize it via EventScripter Script thought.

I suppose you're re-adding the same folder URL over time and only want JD to download all newly added items?

-psp-
EDIT

For this case, a script which has been created for another purpose - the "history script" might be useful to you ...
__________________
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; 26.11.2020 at 15:36.
Reply With Quote
  #43  
Old 26.11.2020, 15:37
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Yep, that's exactly it. Since they release a new episode every week and I try to keep up to date, I have to re-add the same folder link every week.

Even with potentially telling JDownloader2 to skip files I've already downloaded, that won't work, since they often have multiple releases of the same episode just at different resolutions, and I only download them in 1 resolution, so there will always be files I haven't downloaded that I'd have to remove

I'll look into EventScripter. Thanks!
Reply With Quote
  #44  
Old 26.11.2020, 15:44
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,611
Default

Quote:
Originally Posted by Poliana View Post
Even with potentially telling JDownloader2 to skip files I've already downloaded, that won't work, since they often have multiple releases of the same episode just at different resolutions, and I only download them in 1 resolution, so there will always be files I haven't downloaded that I'd have to remove
Well that makes it even more complicated but as long as there is some way to auto determine what you want and what you don't want (e.g. filenames) there will be a way to write a script that does it for you.

-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
  #45  
Old 26.11.2020, 15:48
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Yeah, I just took a quick 10-second look at the link (don't have much time now) and it seems to be based on JavaScript (or it is just outright JavaScript)? I'm pretty familiar with JavaScript, so I should be able to figure it out

Thanks again!
Reply With Quote
  #46  
Old 26.11.2020, 15:50
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,611
Default

Yes. Also you'll find a lot of example scripts in the linked thread.
Maybe you'll even find a script which does similar tasks to the one you want.

-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
  #47  
Old 26.11.2020, 17:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

@Poliana: Syntax is Javascript
Do you have the old links from that folder in list? If yes, JDownloader should be able to detect that and then you can create a Linkcrawler Filter to ignore Links that you already have in Download list
__________________
JD-Dev & Server-Admin
Reply With Quote
  #48  
Old 26.11.2020, 21:00
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Quote:
Originally Posted by Jiaz View Post
@Poliana: Syntax is Javascript
Do you have the old links from that folder in list? If yes, JDownloader should be able to detect that and then you can create a Linkcrawler Filter to ignore Links that you already have in Download list
Thank you That's reassuring, since that means I'll likely be able to pick it up easily.

As for your tip, I can't rely on that method for this reason:

Quote:
Originally Posted by Poliana View Post
Even with potentially telling JDownloader2 to skip files I've already downloaded, that won't work, since they often have multiple releases of the same episode just at different resolutions, and I only download them in 1 resolution, so there will always be files I haven't downloaded that I'd have to remove
Unless I am misunderstanding you?
Reply With Quote
  #49  
Old 26.11.2020, 21:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

In that case I recommend to use Eventscripter Script to add the link, remove old results and just leave the *new* ones in list. You can ask for help here, https://board.jdownloader.org/showthread.php?t=70525
__________________
JD-Dev & Server-Admin
Reply With Quote
  #50  
Old 26.11.2020, 22:22
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 56,611
Default

I've additionally added a property on every crawled erai URL named "UPLOADDATE_RAW".
It contains the uploaded date in the raw/original format displayed on their website e.g.:
Code:
14/08/2020 10:28:09
This way you could even make a script that keeps only items uploaded in a desired time frame.

This property is only available for files added via folder-URL, not single-added files!

-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
  #51  
Old 26.11.2020, 23:05
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,092
Default

Quote:
Originally Posted by Poliana View Post
.... when I copy a folder link now it (obviously) grabs all files and I manually have to delete all files but the last one.
If your selection method is not arbitrary, you might be able to achieve the desired outcome by using only linkfilter rules. Create one rule to block the links which are already in the download list and a second one to block links with unwanted resolution. Thus, each time you add the folder link, you will effectively end up with only the latest links of your preferred resolution.

Quote:
Originally Posted by Poliana View Post
Since they release a new episode every week and I try to keep up to date, I have to re-add the same folder link every week.
Eventscripter can be used to automate this task.
Reply With Quote
  #52  
Old 13.01.2021, 19:19
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

Erai-raws was gone again, for a while. They recently came back, and ever since, I can't get any download started. It constantly says the login credentials are wrong, but using the same credentials in the browser works just fine.

Strangely, I've had this happen before, but it was just temporary and it would show a relevant error message when trying to add download links. Now when I try to add download links, it says the files are offline.

Maybe Erai-raws again changed something on their end, breaking compatibility?
Reply With Quote
  #53  
Old 13.01.2021, 19:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

erai-raws isn't supported at all?! and erai-ddl3.info uses cloud protection
__________________
JD-Dev & Server-Admin
Reply With Quote
  #54  
Old 13.01.2021, 19:43
Poliana Poliana is offline
JD Alpha
 
Join Date: Sep 2020
Posts: 22
Default

To clarify, when I say Erai-raws, I'm mostly referring to their DDL section erai-ddl3.info
Reply With Quote
  #55  
Old 14.01.2021, 12:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Thanks for the clarification, currently not working/possible to fix because of used DDOS service
__________________
JD-Dev & Server-Admin
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 17:44.
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.