Knowledgebase: LinkCrawler Rules
LinkCrawler DIRECTHTTP example
Posted by pspzockerscene psp, Last modified by pspzockerscene psp on 08 January 2021 03:40 PM

LinkCrawler Rule example - DIRECTHTTP

DIRECTHTTP rules can be used to do the following tasks:

  • Make JD accept direct-downloadable URLs it otherwise wouldn't accept
  • -> Most commonly it's direct-URLs without file-extensions
  • Let JD "learn" file-extensions which it does not accept by default

Simple example: Accept attachments from the JDownloader knowledgebase:
Let's say you want to download this URL:

JD will not pickup this URL - it will only find the image behind it if you add it via "Add Links" dialog and let JD deep-scan.
The following rule will make JD always accepot this kind of URL:

[ {
"enabled" : true,
"logging" : false,
"maxDecryptDepth" : 1,
"name" : "example rule for DIRECTHTTP",
"pattern" : "https://support\\.jdownloader\\.org/Knowledgebase/Article/GetAttachment/\\d+/\\d+",
"rule" : "DIRECTHTTP"
} ]

As a side-effect, you can now also let JD deep-parse any of our knowledgebase articles and it will find all of these attached URLs automatically.