#1
|
|||
|
|||
Link Crawler Rules - not work for me!
What wrong?
Code:
[ { "enabled" : true, "pattern" : "*.?((\d+)$)|(/page-(\d+)$)|(\?page=(\d+)\&)|(/page/(\d+)/$)|(/page(\d+)$)|(/page/(\d+)\?)|(/page(\d+)/)|(\?PageNo=(\d+))|(\?paged=(\d+))|(/page/(\d+)$)|(\?st=(\d+))|(\&s=(\d+)+)|(\&p=(\d+))|(\&cat=(\d+))|(/(\d+)+)|(\&start=(\d+)", "rule" : "DEEPDECRYPT" } ] |
#2
|
||||
|
||||
Who knows.
Without example links is hard to know. Maybe you need vacations again?
__________________
» Setup JD2 / Instalador de JD2 «
Spoiler:
Installer for Windows XP/Vista/Seven/Eight || JD2 x86 - x64 (Beta) || Installer for Mac || JD2 (Beta) || Installers for Linux || JD2 (Beta) x86 || <---> || JD2 (Beta) x64 || How to Create a Log -» Click Here «- ¿Cómo crear un registro? -» Click Aquí «- Support Chat / Chat de Soporte -» Click Here / Click Aquí «- |
#3
|
|||
|
|||
Lram32 - You have given me many bans already, maybe this time you calm down?
do not understand that this regex for each "Multipage" |
#4
|
|||
|
|||
Jiaz - In the place of the actual page number use the sub expresion (\d+).
e.g. website\.com/galleries/(*)/page(\d+).html$ |
#5
|
||||
|
||||
once again regex is wrong, * is not a wildcard its a repeat factor
period is the wildcard factor, so it should look like .* please learn regex, please use regex testing software like regex buddy or regex testing websites like regex101.com raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#6
|
|||
|
|||
https://board.jdownloader.org/showpo...10&postcount=5
and does not work for me, the rules are for me here incomprehensible. I do not have to use RegexBuddy, when RegEx works for me well for me!(at least in many applications or editors that I use.), but not here .... I'm done! |
#7
|
|||
|
|||
Regex work for me but not work JD2
MINI-example: flickr\.com/photos/(.*)/page(\d+)/\?details\=1 /t(\d+)p(\d+)\- /Details\.aspx\?id=(\d+)&start=(\d+) rule34\.paheal\.net/post/list/(.*)/(\d+)$ \&start=(\d+) \&page=(\d+)$ \?page=(\d+)$ /page-(\d+)$ \?page=(\d+)\& /page/(\d+)/$ /page(\d+)$ /page/(\d+)\? /page(\d+)/ \?PageNo=(\d+) \?paged=(\d+) /page/(\d+)$ \?st=(\d+) \&s=(\d+)+ \&p=(\d+) \&cat=(\d+) |
#8
|
||||
|
||||
And what exactly does not work with those regex?
(\d+)+ is invalid
__________________
JD-Dev & Server-Admin |
#9
|
|||
|
|||
\?page=(\d+)\&
Invalid regex ? No , no, no, and no! |
#10
|
||||
|
||||
(\d+)+ is invalid
you talk about a complete different regex
__________________
JD-Dev & Server-Admin |
#11
|
|||
|
|||
Quote:
|
#12
|
|||
|
|||
Jiaz - how to JOIN all the regex?
.....(regex1)|(regex2)|(regex3) ..... <== at the beginning??? |
#13
|
|||
|
|||
regex is working for me, I do not know how to mix complex regex, so I asked for a "regex the Lines"
**External links are only visible to Support Staff****External links are only visible to Support Staff** Last edited by raztoki; 23.02.2016 at 08:55. |
#14
|
|||
|
|||
Note: The join of thousands of regex is not easy. There may be undefined errors!!!
|
#15
|
||||
|
||||
pattern1|pattern2|pattern3
No need to use () brackets unless you need those features that brackets provide.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#16
|
|||
|
|||
still not wor for me
error:is not a valid 'java.util.List<jd.controlling.LinkCrawlerRuleStorable> |
#17
|
||||
|
||||
please show the rule you try to paste
__________________
JD-Dev & Server-Admin |
#18
|
|||
|
|||
[ {
"enabled" : true, "maxDecryptDepth" : 1, "id" : 1454334584729, "name" : null, "pattern" : "/(\d+)\.cfm", "rule" : null } ] |
#19
|
|||
|
|||
or
[ { "enabled" : true, "pattern" : "/(\d+)\.cfm", "rule" : "DEEPDECRYPT" } ] |
#20
|
||||
|
||||
first rule, missing rule
and you need to escape \ -> \\
__________________
JD-Dev & Server-Admin |
#21
|
|||
|
|||
Code:
[ { "enabled" : true, "maxDecryptDepth" : 1, "id" : 1454334584729, "name" : null, "pattern" : "/(\d+)\\.cfm", "rule" : DEEPDECRYPT } ] |
#22
|
|||
|
|||
Still do not understand what is wrong ... Enlighten me . .
**External links are only visible to Support Staff****External links are only visible to Support Staff** Last edited by raztoki; 23.02.2016 at 08:56. |
#23
|
||||
|
||||
You need to enter valid JSON syntax! \ must be escaped with \\
\d becomes \\d
__________________
JD-Dev & Server-Admin |
#24
|
|||
|
|||
Quote:
|
#25
|
||||
|
||||
Please, PLEASE check your input
"rule" : DEEPDECRYPT is NOT "rule" : "DEEPDECRYPT"
__________________
JD-Dev & Server-Admin |
#26
|
|||
|
|||
but here you have provided quotes
https://board.jdownloader.org/showpo...23&postcount=2 What is the difference? |
#27
|
||||
|
||||
Quote:
You use "rule" : DEEPDECRYPT but it must be "rule" : "DEEPDECRYPT"
__________________
JD-Dev & Server-Admin |
#28
|
|||
|
|||
|
#29
|
|||
|
|||
ah ... Oppppsss sorry...
|
#30
|
||||
|
||||
again, your rule is missing the quotes...I guess you simply do not see them....
__________________
JD-Dev & Server-Admin |
#31
|
|||
|
|||
Work.
|
#32
|
||||
|
||||
Just for your information. Would be nice to get any kind of 'thank you' in future......and you wonder why we don't want to help you......
__________________
JD-Dev & Server-Admin |
#33
|
|||
|
|||
LingrabberFilter
[x] Filename: .*?(ico|png|gif).* (ReGex Enable) [x]File is online if possible =========== [ { "enabled" : true, "maxDecryptDepth" : 1, "id" : 1454334584729, "name" : null, "pattern" : "/(\\d+)\\.cfm", "rule" : "DEEPDECRYPT" } ] still decrypt PNG and GIF :( **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#34
|
||||
|
||||
I suggest you to ask in other forums where it is about RegEx.
Your requests are not any longer about JDownloader - they are about hundrets of patterns you need for your own stuff. Closed!
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#35
|
||||
|
||||
your filter works perfectly fine (all gif,png are filtered)
__________________
JD-Dev & Server-Admin |
#36
|
|||
|
|||
Jiaz - Thanks for your help, as always.
However, this does not always work. **External links are only visible to Support Staff****External links are only visible to Support Staff** Last edited by raztoki; 23.02.2016 at 08:55. |
#37
|
||||
|
||||
Do you have any quickfilters active? are those files online?
__________________
JD-Dev & Server-Admin |
#38
|
|||
|
|||
No...
have to modify the rule, because it shows me Availability "?" |
#39
|
||||
|
||||
without linkcheck this rule does not work. If you want to make it work without linkcheck, then you have to use filetype and not filename.
__________________
JD-Dev & Server-Admin |
#40
|
|||
|
|||
Quote:
**External links are only visible to Support Staff****External links are only visible to Support Staff** Last edited by raztoki; 23.02.2016 at 08:54. |
Thread Tools | |
Display Modes | |
|
|