#1
|
|||
|
|||
Redirect crawl via LinkCrawler Rule
Hello Friends
i have this link Code:
**External links are only visible to Support Staff** Code:
**External links are only visible to Support Staff** mean wen i copy first link JD redirect automatic and download the second link Thanks |
#2
|
||||
|
||||
The problem isn't the second link, its the first. The second for memory is listened to/for.
The first link isn't and you just need to add a linkcrawler redirect rule, please see https://support.jdownloader.org/Know...lowredirect/22 raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Hello Bro
i found this rules : Code:
[ { "cookies" : null, "deepPattern" : null, "formPattern" : null, "id" : 1681420281530, "maxDecryptDepth" : 0, "name" : "Learned file extension: epub", "packageNamePattern" : null, "passwordPattern" : null, "pattern" : "(?i)https?://.*\\.epub($|\\?.*$)", "rewriteReplaceWith" : null, "rule" : "DIRECTHTTP", "enabled" : true, "logging" : false, "updateCookies" : false }, { "cookies" : null, "deepPattern" : null, "formPattern" : null, "id" : 1688081601422, "maxDecryptDepth" : 0, "name" : "Learned file extension: gz", "packageNamePattern" : null, "passwordPattern" : null, "pattern" : "(?i)https?://.*\\.gz($|\\?.*$)", "rewriteReplaceWith" : null, "rule" : "DIRECTHTTP", "enabled" : true, "logging" : false, "updateCookies" : false } ] Code:
[ { "enabled": true, "name": "example rule for LinkCrawler type FOLLOWREDIRECT", "pattern": "https?://magazinelib\.com/[A-Za-z0-9]+", "rule": "FOLLOWREDIRECT" } ] thanks for help Bro Last edited by AD-TEAM; 10.09.2023 at 18:24. |
#4
|
||||
|
||||
You can keep the first two if you use them, just add another ", { inserted rule }" and
you will need to adjust the pattern for your domain and url structure.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
thanks work perfectly
|
#6
|
|||
|
|||
also for this
Code:
**External links are only visible to Support Staff** , { "enabled": true, "name": "example rule for LinkCrawler type FOLLOWREDIRECT", "pattern": "https?://theebookhunter\\.com/d\?[A-Za-z0-9_-]+", "rule": "FOLLOWREDIRECT" } but not work can you help Thnaks |
#7
|
||||
|
||||
double escape the \\? and you're missing = after question mark. test your pattern at regex101 then add additional escaping in for json (if required)
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
|||
|
|||
i did this
Code:
, { "cookies" : null, "deepPattern" : null, "formPattern" : null, "id" : 1695991268354, "maxDecryptDepth" : 0, "name" : "example rule for LinkCrawler type FOLLOWREDIRECT", "packageNamePattern" : null, "passwordPattern" : null, "pattern" : "https?://theebookhunter\\.com/d\\?=[A-Za-z0-9_-]+", "rewriteReplaceWith" : null, "rule" : "FOLLOWREDIRECT", "enabled" : true, "logging" : false, "updateCookies" : false } Code:
**External links are only visible to Support Staff** manually it work |
#9
|
||||
|
||||
It's not working because that link simply redirects to website "ebookhunter.net" (main page).
Maybe cookies or a specific referer is missing?
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#10
|
|||
|
|||
Here the source page
download link are down Code:
**External links are only visible to Support Staff** |
#11
|
||||
|
||||
I see multiple mistakes here:
1. Regex does not allow "www." at the beginning of those URLs. 2. Domain "ebookhunter.net" is missing. 3. Referer is needed to make those "redirect URLs" work so a 2nd rule is needed as you cannot (yet) specify a referer in such a rule. Rule I made: Code:
[ { "maxDecryptDepth": 0, "name": "redirect rule for website theebookhunter.com", "pattern": "https?://(www\\.)?(theebookhunter\\.com|ebookhunter\\.net)/d\\?=[A-Za-z0-9_-]+", "rule": "FOLLOWREDIRECT", "enabled": true, "logging": true, "updateCookies": false }, { "enabled": true, "logging": false, "maxDecryptDepth": 1, "name": "deepdecrypt rule for website theebookhunter.com", "pattern": "https?://(www\\.)?(theebookhunter\\.com|ebookhunter\\.net)/[a-z0-9_-]+/", "rule": "DEEPDECRYPT", "packageNamePattern": null, "deepPattern": "(//(theebookhunter\\.com|ebookhunter\\.net)/d\\?=[A-Za-z0-9_-]+)" } ] **External links are only visible to Support Staff****External links are only visible to Support Staff** Then after all that it still doesn't work because of a possible bug or design-flaw in our "FOLLOWREDIRECT" handling. Ticket:
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#12
|
|||
|
|||
thanks for help bro
waiting for this fix asap |
#13
|
||||
|
||||
There will be no "asap" fix.
This will most likely never be addressed -> I recommend looking for alternative [browser based] solutions Sure you can also address it yourself as JD is open source: https://support.jdownloader.org/Know...up-ide-eclipse
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#14
|
|||
|
|||
ok bro thanks
|
#15
|
||||
|
||||
This bug has been fixed.
The rule I provided in post #11 is working fine now.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#16
|
|||
|
|||
thanks bro
|
Thread Tools | |
Display Modes | |
|
|