#1
|
|||
|
|||
![]()
I don't want to add #.jdeatme at the end of the url, as I want to add even 4 links, I have to open a text editor and put it at the end of the link and so every time it's tiring how to solve this problem, I was looking for a solution but each time to no avail. I will be grateful for any help.
My current setting: Downloadurl contains .*example\.de/(.*?)/(.*?)(?:$|\?|#).* Package Name <jd:orgfilename> File Name <jd:hoster:1>_<jd:hoster:2>.html Last edited by Student im ersten Jahr; 24.04.2021 at 02:35. |
#2
|
||||
|
||||
![]()
I'm sorry but I don't understand.
.jdeatme is just a helper extension to make JDownloader *eat/parse* the link even if not URL pattern supported. What does it have to do with your packagizer rule?
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
![]() Code:
What does it have to do with your packagizer rule? Text Editor: Regex Find $ replace with: #.jdeatme I don't know, so I'm asking if there is any method that will add this extension automatically? |
#4
|
||||
|
||||
![]()
Instead of jdeatme workaround, I would recommend to just setup a linkcrawler rule for those urls
https://support.jdownloader.org/Know...ple-directhttp without knowing your URLs(no examples), it's hard to provide a pattern that appends the jdeatme
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
![]()
The regular expression matches my URLs, but I don't know if the rest of the pattern is correct.
An error occured 'is not a valid 'java.util.List<jd.controling.linkcrawler.LinkCrawlerRuleStorable>' [ { "enabled" : true, "logging" : false, "maxDecryptDepth" : 0, "name" : "example rule for DIRECTHTTP", "pattern" : "https:\\example\\.com/(20[01][0-9]|2020)/0*([1-9]|1[0-2])/(\d+[-/]\d+)|https:\\example\\.com/diary/(.*)/(\d+)-(\d+)-(\d+)", "rule" : "DIRECTHTTP" } ] **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** example.com - any hostname ![]() Last edited by Student im ersten Jahr; 23.04.2021 at 19:07. |
#6
|
||||
|
||||
![]() Quote:
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
![]()
I only know popular regular expressions. I don't know "Java Regex".
Last edited by Student im ersten Jahr; 23.04.2021 at 20:28. |
#8
|
||||
|
||||
![]()
It's not java Regex, but you have to escape the \ because you have it inside json.
__________________
JD-Dev & Server-Admin |
#9
|
|||
|
|||
![]()
Still an error occurs. Can't add.
**External links are only visible to Support Staff****External links are only visible to Support Staff** [ { "enabled" : true, "cookies" : null, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 0, "id" : 1610136033613, "name" : "example rule, "pattern" : "https:\\example\\.com/(20[01][0-9]|2020)/0*([1-9]|1[0-2])/(\\d+[-/]\\d+)|https:\\example\\.com/diary/(.*)/(\\d+)-(\\d+)-(\\d+)", "rule" : "DIRECTHTTP", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : null, "rewriteReplaceWith" : null } ] |
#10
|
||||
|
||||
![]()
protocol delimiter is :// and not :\\
__________________
JD-Dev & Server-Admin |
#11
|
|||
|
|||
![]()
With all due respect. I added this rule, but still without #.jdeatme it won't properly download a single html page
It doesn't even parse, even though the rule pattern is obviously correct! If you have any other idea, I turn to hearing. Code:
[ { "enabled" : true, "cookies" : null, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 0, "id" : 1610136033614, "name" : "example rule", "pattern" : "**External links are only visible to Support Staff**, "rule" : "DIRECTHTTP", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : null, "rewriteReplaceWith" : null } ] example: **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** Last edited by Student im ersten Jahr; 24.04.2021 at 00:03. |
#12
|
||||
|
||||
![]()
please use service like regex101 to write your regular expression pattern. It highlights as you write, so you can see where you go wrong.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#13
|
|||
|
|||
![]()
With the rule of parse Links WORK, but with a ERROR now, no files are downloaded now.
plugins.hoster.DirectHTTP / DEFECT Log File: 24.04.21 01.19.25 <--> 24.04.21 01.28.43 jdlog://1501825302851/ --ID:207TS:1619220314202-4/24/21 1:25:14 AM - [] -> Exception thrown at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:43 8): jd.plugins.PluginException: ERROR_FILE_NOT_FOUND|Value:-1 at jd.plugins.hoster.DirectHTTP.requestFileInformation(DirectHTTP.java:777) at jd.plugins.hoster.DirectHTTP.requestFileInformation(DirectHTTP.java:734) at jd.plugins.hoster.DirectHTTP.requestFileInformation(DirectHTTP.java:541) at jd.plugins.hoster.DirectHTTP.handleFree(DirectHTTP.java:308) at jd.plugins.PluginForHost.handle(PluginForHost.java:1227) at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:43 3) at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:615) **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** Last edited by Student im ersten Jahr; 24.04.2021 at 02:38. |
#14
|
||||
|
||||
![]()
wait for next core update, then those files will work
meanwhile you can modify linkcrawler rule to auto append .jdeatme see https://support.jdownloader.org/Know...xample-rewrite
__________________
JD-Dev & Server-Admin |
#15
|
|||
|
|||
![]()
Correct rule? Put whole regular expression into ()
Replace with $1#.jdeatme [ { "enabled" : true, "cookies" : null, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 0, "id" : 1610136033614, "name" : "example rule", "pattern" : "**External links are only visible to Support Staff**, "rule" : "DIRECTHTTP", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : null, "rewriteReplaceWith" : null } ] {, } [ { "enabled" : true, "name" : "example rule for type REWRITE", "pattern" : "(**External links are only visible to Support Staff**, "rule" : "REWRITE", "rewriteReplaceWith" : "$1#.jdeatme" } ] |
#16
|
||||
|
||||
![]()
1. Your json syntax is completely broken.
You can learn it here: w3schools.com/js/js_json_syntax.asp 2. You can view/edit json in a comfortable way e.g. using this webtool: jsoneditoronline.org Please stop bothering our support about this unless you can show us some kind of personal contribution regarding your special feature wishes and constant support requests. Also as explained by Jiaz, all you have to do in this case is wait for the next update... -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#17
|
||||
|
||||
![]() Quote:
__________________
JD-Dev & Server-Admin |
#18
|
|||
|
|||
![]() |
#19
|
|||
|
|||
![]()
Everything worked fine, but I noticed the parser was not working for these links:
**External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** Does not perform a parsing activity I tried to optimize the previous pattern, but there is an error in the ranges. I had to go back to a different pattern again: Code:
(hXXps://example\\.ru/(20[01][0-9]|202[0-2])/0*([1-9]|1[0-2])/(\\d+[-/]\\d+)|hXXps://example\\.ru/diary/(.*)/(\\d+)-(\\d+)-(\\d+)) Parse Into Range: 2000 - 2019 2020 - 2022 Parse Into Block Regex: 20[01][0-9] 202[0-2] Combining Into Regex Pattern: (20[01][0-9]|202[0-2]) Last edited by Student im ersten Jahr; 27.04.2021 at 01:30. |
#20
|
||||
|
||||
![]()
You should try to keep pattern as simple as possible
__________________
JD-Dev & Server-Admin |
![]() |
Thread Tools | |
Display Modes | |
|
|