JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 16.06.2024, 07:00
TGU TGU is offline
JD Fan
 
Join Date: Jun 2024
Location: International Waters where DRM/DMCA protections are ignored
Posts: 72
Default UNKNOWN/OFFLINE Package & Link Availability, and their Filenames

I'm Looking into some error handling and just want to confirm and have it for other people to generally reference.

Links with OFFLINE or UNKNOWN status are (by default) put into a "Offline Files" package. If the link is offline and it fits into an existing package, it will go there.


Links with OFFLINE status "always" have their host set to the URL's hostname with their filenames as below.

Links with UNKNOWN status are a little bit messy, they have their host as "linkcrawlerretry".

The filename can be "RetryReason!Identifier" format, whatever the plugin can extract (the actual filename or like the last path of the URL), or "unknownFileName" if empty. (! is replaced with ¡ as of the latest update)

The "RetryReason" is one of the enums within jd.plugins.DecrypterRetryException.RetryReason however some plugins can have their own RetryReason text and they can change depending on the client language set. ("Content offline", "Wrong password", ...)

The "Identifier" is extracted from the URL if available typically a filename or ID, else it's set to the URL's plugin hostname

The link will sometimes have a comment set with their RetryReason depending on the reason if there is no comment already set.
Reply With Quote
  #2  
Old 16.06.2024, 21:37
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,019
Default

@TGU:
-Permanent Offline links (handled by Offline plugin) will always go to "Permanent Offline" package
-Offline links will be put into Offline package in case they are not part of different package (set by rules, plugin) or have better fitting package in list (filename matching)
-Unknown links will be put into Offline package in case they are not part of different package (set by rules, plugin) or have better fitting package in list (filename matching)

Linkcrawlerretry is a special host plugin that happens when there are issue certain issues during linkcrawling/processing the link, see Settings->Advanced Settings->LinkCrawler.addretrycrawlertasks2
those links allow user to easily fix the issue(eg blocked IP, account required, plugin settings must be changed) and reprocess the link again. there is no fixed/reliable filename for this, as this error can happen at any stage so filename may be available or not, or the error title is not available and others.
You should only work on the RetryReason reason, the text is free and not meant for programmatically handling/usage as they may change.

If you need any special API/better support for those links, please let me know. Of course also just ask if you got further questions on this.
__________________
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:49.
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 - 2024, Jelsoft Enterprises Ltd.