#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 |
Thread Tools | |
Display Modes | |
|
|