JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 28.05.2023, 21:29
Mister Nobody Mister Nobody is offline
Modem User
 
Join Date: May 2023
Posts: 2
Question Stop download queue on first dead link

Hello,

I have a list of file links, for example 1 to 500, but the last valid link will be unknown and less than 500, and I want to stop the download queue when it hits the first dead link / file not found error.

Is there a way to do this? I have turned off link validation in linkcollector because I don't want to hammer the server checking dead links, so link validation is not an option. I just want to stop the download queue when it hits the first dead link.

Thanks.

Edit: Disregard, I found another solution.

Last edited by Mister Nobody; 30.05.2023 at 07:58. Reason: Update
Reply With Quote
  #2  
Old 30.05.2023, 16:13
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,655
Default

Hi,
this is not possible out of the box but you could realize this using an EventScripter script:

EventScripter forum thread:
https://board.jdownloader.org/showthread.php?t=70525
EventScripter help article:
https://support.jdownloader.org/Know...event-scripter
__________________
JD Supporter, Plugin Dev. & Community Manager
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 31.05.2023, 05:55
Mister Nobody Mister Nobody is offline
Modem User
 
Join Date: May 2023
Posts: 2
Default

Hi, in the software I developed I found a way of detecting the first dead link so now I only pass valid links to JDL

Good to know it is possible with JDL as well.

Cheers!
Reply With Quote
  #4  
Old 31.05.2023, 11:27
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,655
Default

Thanks for your feedback.
If you think that your software is useful for other users too, you might want to publish your code on github or similar.
__________________
JD Supporter, Plugin Dev. & Community Manager
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
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 18:26.
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 - 2023, Jelsoft Enterprises Ltd.