#1
|
|||
|
|||
Packagizer now doesn't work but at old days work why?
Hi.
Here is a photo how i create the rule: **External links are only visible to Support Staff** And this is some links this rule doesn't work at all. **External links are only visible to Support Staff****External links are only visible to Support Staff** or **External links are only visible to Support Staff****External links are only visible to Support Staff** So what is change and how i can make it work again? |
#2
|
||||
|
||||
and your rule does what? because the and then set... component in the screen shot is missing.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
At old days with exactly that syntax work just fine.
Now it doesn't. When it work simply remove from links the "TwoDDL_"(Or anything else you have at that place) from the name now doesn't do anything at all. So what i must change now so make the rule work again? Last edited by Agnostos; 17.10.2016 at 07:52. |
#4
|
||||
|
||||
that rule would have never worked, you would have always needed a component in the and then set....
for instance filename <jd:orgfilename:1> raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
No you are wrong.
Before 3 months works fine and do exactly that i describe above. It remove the name you have added from any link. I cut this part of the picture. My fault. see the full picture now: **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#6
|
||||
|
||||
Wait for next Core Update. And remove the *File is Online* condition. Then it will work on all files.
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
So you tell me to simply completely uncheck the file line?
Like this: **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#8
|
||||
|
||||
Yes, and wait for next core update (tomorrow), then the rule will work fine
__________________
JD-Dev & Server-Admin |
#9
|
|||
|
|||
Ok thanks
|
#10
|
|||
|
|||
No i do the core update and still doesn't work.
So what is happening? |
#11
|
||||
|
||||
Wait until Jiaz answers again.
GreeZ psp
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#12
|
||||
|
||||
can't reproduce at all, since the fix works as intended. Prior it only worked for one online state (online|offline|unavailable) now with file unchecked it works for all those states so you end up with a single package. I tested in SVN last night and now on Mac.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 19.10.2016 at 04:00. |
#13
|
||||
|
||||
Please show screenshot of your complete packagizer rule
Works fine for me.
__________________
JD-Dev & Server-Admin |
#14
|
||||
|
||||
Did you disable online condition?
__________________
JD-Dev & Server-Admin |
#15
|
|||
|
|||
What?
No i don't thing so. How i can see if i was enable or disable this online condition you mentioning? |
#16
|
||||
|
||||
Quote:
yes this line must be disabled
__________________
JD-Dev & Server-Admin |
#17
|
|||
|
|||
So this settings is correct?
**External links are only visible to Support Staff****External links are only visible to Support Staff** |
#18
|
||||
|
||||
It is correct but complete different rule and no example Links
Please provide example links, then we can check it
__________________
JD-Dev & Server-Admin |
#19
|
|||
|
|||
but already tallied you example links some post above.
|
#20
|
||||
|
||||
The example from above works perfectly fine with the rule you've provided after disabling online status
__________________
JD-Dev & Server-Admin |
#21
|
|||
|
|||
Here is one example that the packagizer doesn't work correctly.
Here is the link: **External links are only visible to Support Staff****External links are only visible to Support Staff** And here is the rule i create and doesn't work: **External links are only visible to Support Staff** Last edited by Jiaz; 11.11.2016 at 13:10. |
#22
|
||||
|
||||
user error
your dynamic tag in filename is invalid, closing > is missing hope that helps raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 11.11.2016 at 10:10. |
#23
|
|||
|
|||
Yes but the world i want to delete it from any links is "TwoDDL " with the space at the end so...
|
#24
|
||||
|
||||
TwoDDL\\s*(.+)
__________________
JD-Dev & Server-Admin |
#25
|
|||
|
|||
So every one space i put the characters "\\s" at the end of any word?
If i want to spaces i put "example\\s\\s" correct? I try that sytax TwoDDL\\s*(.+) and doen't work at all. It doesn't remove all the "TwoDDL " |
#26
|
||||
|
||||
en.wikipedia.org/wiki/Regular_expression
I will test at home and provide feedback later/tomorrow.
__________________
JD-Dev & Server-Admin |
#27
|
||||
|
||||
Filename - contains
TwoDDL(\\s*|_*)(.+) enable regex Filename: <jd:orgfilename:2> Note: your example contains _ and not spaces, that's why the original regex did not work
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 14.11.2016 at 16:14. |
#28
|
|||
|
|||
No my example link contains one space AFTER the word not _ character.
Look more carefully the youwatch.org link PLEASE. |
#29
|
||||
|
||||
The example link from above. URL and Filename on Website
Quote:
__________________
JD-Dev & Server-Admin |
#30
|
|||
|
|||
Never understand how exactly that rules works.
And this is the exact reason i can't create one new rule when i want. For example now with these links: Uploaded **External links are only visible to Support Staff****External links are only visible to Support Staff** Nitroflare **External links are only visible to Support Staff****External links are only visible to Support Staff** Rapidgator **External links are only visible to Support Staff****External links are only visible to Support Staff** MultiUp (MEGA , Uptobox , Openload, 1fichier, UploadRocket, FileFactory) **External links are only visible to Support Staff****External links are only visible to Support Staff** I want to completely delete the "TwoDDL_TwoDDL" from any link name. But the rule i try to create: Filename - contains TwoDDL_TwoDDL(.+) enable regex Filename: <jd:orgfilename:1> or <jd:orgfilename:2> Simply doesn't work because the result is to leave at name "TwoDDL....." So what is that i do wrong? Is there any easy to understand how that rule works or is there any chance to do it easier? |
#31
|
||||
|
||||
my test example I made had to be edited because before they used to separate with underscore. This following pattern will pick up
filename EQUALS Code:
(?:TwoDDL(?:\.eu){0,}[_]{0,}){1,}(.+) Code:
<jd:orgfilename:1> use right click to get dynamic tags, it only provides you with fields that are available. My advice to you with regular expressions, is to find a online regex pattern making/test website, OR use program like RegexBuddy. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#32
|
|||
|
|||
Thanks.
Now you confuse me more than before. How i get dynamic links and how i find out online regex pattern making/test website? There is no way to make it simpler to add links at these rules and work? And that syntax you tell me work like a charm. But can you PLEASE explain me with simple words what i must do so i create correctly the syntax. I believe the "<jd:orgfilename:1>" stays always the same correct? how i get dynamic link for example that link: **External links are only visible to Support Staff****External links are only visible to Support Staff** with right click i get the exact same link. I find one online regex pattern. Is this fine? **External links are only visible to Support Staff****External links are only visible to Support Staff** Last edited by Agnostos; 19.01.2017 at 05:20. |
#33
|
||||
|
||||
regex101 is ok, it even explains what the expression does, as you write it. Happy hunting!
note: Java parser is slightly different. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#34
|
|||
|
|||
Yes but i don't understand anything at all.
How this regex101 works exactly? What i must enter and where? PLEASE guide me with the example link i mention at my previews post so i learn how i create the correct syntax for the rules for your program jd2beta. A LOT OF THANKS. |
#35
|
||||
|
||||
paste in content that you want to match
in the regular expression field paste the pattern in. on the right it tells you what the pattern does, remove components of the pattern and see what each component does (highlighted component changes). If you want better understanding of regular expressions in the bigger picture, you're best to seek help via books or online help. We don't provide assistance for this ourselves. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#36
|
|||
|
|||
Ok at which field of the regex101 site i copy-paste the link "**External links are only visible to Support Staff****External links are only visible to Support Staff**"?
If i add that link at the field "regullar expression" doesn't do anything at all. And after that how i can make this site give me the reg result for the jd2 rule so i simply add it at the correct place at jd2beta rule? And can you tell me if there is a site that simply add the link and create the syntax for jd2beta rule? Or is there any simpler than this site reg.... Thanks Last edited by Agnostos; 19.01.2017 at 06:05. |
#37
|
||||
|
||||
That site won't give you the regex. You will enter the regex yourself and it will show if it matches/where it matches.
You should learn regex and just use regex101 for experimenting with it. In doubt/when you don't find solution, you can also ask us.
__________________
JD-Dev & Server-Admin |
#38
|
||||
|
||||
This rule (see post from raztoki, https://board.jdownloader.org/showpo...6&postcount=31)
Quote:
__________________
JD-Dev & Server-Admin |
#39
|
|||
|
|||
So is there a site to give me the correct regex?
To enter the link and at another field write what i want to delete from the name so tranform it into regex so i put it at jd2 beta rules. Last edited by Agnostos; 19.01.2017 at 14:36. |
#40
|
||||
|
||||
Don't know of any. Because that Regex would ONLY match for that case and not be able to work for other cases. That's why I suggested to learn regex (it ain't that hard)
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|