JDownloader Community - Appwork GmbH
 

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 17.10.2016, 01:30
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default 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  
Old 17.10.2016, 03:57
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

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  
Old 17.10.2016, 07:39
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 17.10.2016, 10:35
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

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  
Old 17.10.2016, 10:58
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 17.10.2016, 17:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Wait for next Core Update. And remove the *File is Online* condition. Then it will work on all files.
__________________
JD-Dev & Server-Admin
  #7  
Old 17.10.2016, 18:12
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 17.10.2016, 18:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Yes, and wait for next core update (tomorrow), then the rule will work fine
__________________
JD-Dev & Server-Admin
  #9  
Old 17.10.2016, 18:27
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

Ok thanks
  #10  
Old 19.10.2016, 01:37
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

No i do the core update and still doesn't work.

So what is happening?
  #11  
Old 19.10.2016, 01:52
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

Wait until Jiaz answers again.

GreeZ psp
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
  #12  
Old 19.10.2016, 03:53
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

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  
Old 19.10.2016, 11:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Please show screenshot of your complete packagizer rule
Works fine for me.
__________________
JD-Dev & Server-Admin
  #14  
Old 19.10.2016, 11:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Quote:
Originally Posted by Jiaz View Post
Wait for next Core Update. And remove the *File is Online* condition. Then it will work on all files.
Did you disable online condition?
__________________
JD-Dev & Server-Admin
  #15  
Old 20.10.2016, 08:50
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

What?
No i don't thing so.

How i can see if i was enable or disable this online condition you mentioning?
  #16  
Old 20.10.2016, 09:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Quote:
Originally Posted by Agnostos View Post
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**
you said it yourself
yes this line must be disabled
__________________
JD-Dev & Server-Admin
  #17  
Old 20.10.2016, 09:43
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

So this settings is correct?
**External links are only visible to Support Staff****External links are only visible to Support Staff**
  #18  
Old 20.10.2016, 09:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

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  
Old 27.10.2016, 23:51
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

but already tallied you example links some post above.
  #20  
Old 28.10.2016, 08:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

The example from above works perfectly fine with the rule you've provided after disabling online status
__________________
JD-Dev & Server-Admin
  #21  
Old 11.11.2016, 07:42
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 11.11.2016, 09:35
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

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  
Old 11.11.2016, 17:38
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

Yes but the world i want to delete it from any links is "TwoDDL " with the space at the end so...
  #24  
Old 11.11.2016, 17:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

TwoDDL\\s*(.+)
__________________
JD-Dev & Server-Admin
  #25  
Old 11.11.2016, 17:56
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 11.11.2016, 18:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

en.wikipedia.org/wiki/Regular_expression

I will test at home and provide feedback later/tomorrow.
__________________
JD-Dev & Server-Admin
  #27  
Old 14.11.2016, 16:09
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

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  
Old 14.11.2016, 21:30
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

No my example link contains one space AFTER the word not _ character.

Look more carefully the youwatch.org link PLEASE.
  #29  
Old 15.11.2016, 08:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

The example link from above. URL and Filename on Website
Quote:
TwoDDL_The
So use the updated Regex and it will work just fine
__________________
JD-Dev & Server-Admin
  #30  
Old 19.01.2017, 04:18
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 19.01.2017, 04:57
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

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>
TIP:
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  
Old 19.01.2017, 05:04
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 19.01.2017, 05:35
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

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  
Old 19.01.2017, 05:43
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 19.01.2017, 05:55
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

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  
Old 19.01.2017, 06:03
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 19.01.2017, 14:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

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  
Old 19.01.2017, 14:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

This rule (see post from raztoki, https://board.jdownloader.org/showpo...6&postcount=31)

Quote:
filename EQUALS
Code:
(?:TwoDDL(?:\.eu){0,}[_]{0,}){1,}(.+)
enable Regex Checkbox on the right site

then set
Filename
Code:
<jd:orgfilename:1>
__________________
JD-Dev & Server-Admin
  #39  
Old 19.01.2017, 14:31
Agnostos Agnostos is offline
JD VIP
 
Join Date: Dec 2014
Posts: 312
Default

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  
Old 19.01.2017, 14:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

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
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 08:55.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.