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: https://jdownloader.org/download/index 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" : "jdownloader.org example rule grab all download-URLs from jdownloader.org/download/index",
"pattern" : "https?://jdownloader\\.org/download/index",
"rule" : "DEEPDECRYPT",
"packageNamePattern" : null,
"passwordPattern" : null,
"deepPattern" : "(https://mega\\.nz/[^\"]+)"
} ]
|