Knowledgebase: LinkCrawler Rules
LinkCrawler DEEPDECRYPT example
Posted by pspzockerscene psp, Last modified by pspzockerscene psp on 11 December 2020 02:27 PM

LinkCrawler Rule example - DEEPDECRYPT

DEEPDECRYPT rules can be used to do the following tasks:

  • Make JD accept URLs it otherwise wouldn't accept
  • Make JD auto deep-crawl content from inside the HTML code behind specific URLs
  • [Optional]: Set package name grabbed via regular expression

Simple example - "Crawl JDownloader Download-URLs with JDownloader":

Let's say you want to get all download-URLs from this page:
By default, JD will not pickup this URL automatically and/or look for URLs behind this.
This rule will make JD accept this URL automatically and extract all URLs matching deepPattern:

[ {
"enabled" : true,
"logging" : false,
"maxDecryptDepth" : 1,
"name" : " example rule grab all download-URLs from",
"pattern" : "https?://jdownloader\\.org/download/index",
"rule" : "DEEPDECRYPT",
"packageNamePattern" : null,
"passwordPattern" : null,
"deepPattern" : "(https://mega\\.nz/[^\"]+)"
} ]