JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 18.10.2021, 16:02
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 45
Default packagizer help

hello

i have a list of tv/stream series i follow and i want to set a packagizer rule so when i added links to linkgrabber the packagizer sets the download folder etc

i can set up each a rule for each of them but couldnt figure out how to set single one to rule them all.

i use the name contains rule on single ones.

how do i add multiple keywords together

for example keywords like "Family Guy" "Ted Lasso" "Doom Patrol" all in single rule
Reply With Quote
  #2  
Old 18.10.2021, 18:43
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,371
Default

Quote:
Originally Posted by animus View Post
how do i add multiple keywords together
Use regex:
Code:
.*(string1|string2|string3).*
Reply With Quote
  #3  
Old 18.10.2021, 20:03
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 45
Default

tried as

filename contains .*(Family Guy|Ted Lasso|Doom Patrol).*
tested the filters with a download link to family guy episode and it didnt worked.thanks tho
Reply With Quote
  #4  
Old 18.10.2021, 20:11
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,371
Default

Quote:
Originally Posted by animus View Post
... it didnt worked
Post your packagizer rule and example link.
Reply With Quote
  #5  
Old 18.10.2021, 20:24
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 45
Default

1234.PNG

123.PNG

**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #6  
Old 18.10.2021, 20:35
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,371
Default

You'll have to wait for the mods to respond. Only they can view attachments.

The file name from your link does not match the example you provided in previous posts. It contains 'dot' characters. You have to adjust the regex accordingly by using "\." to match them.
Code:
.*(string\.one|string\.two|string\.three).*
Reply With Quote
  #7  
Old 18.10.2021, 20:40
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 45
Default

cant we use * instead of ./

tried and it didnt worked

12345.PNG


pm'd the link

Last edited by animus; 18.10.2021 at 20:45.
Reply With Quote
  #8  
Old 18.10.2021, 20:53
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,371
Default

Quote:
Originally Posted by animus View Post
cant we use * instead of ./
In regex 'dot' character matches any character. So, to match a literal 'dot' you have to escape it with a 'backslash' character. "\." not "./" as you posted in your reply.
Reply With Quote
  #9  
Old 18.10.2021, 21:11
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 45
Default

pm'd you the link @mgpai

so to filter the link (naming convention is pretty common in "the scene") what would be the regex with the examples i gave.
Reply With Quote
  #10  
Old 19.10.2021, 02:23
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,389
Default

your last screenshot, the regex rule still contained a space between family and guy and this is why it failed, you could use (abc[\._]dfg|zyz[\._]123).* for example or . without slash for single character wildcard (abc.dfg|xyz.123).*
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #11  
Old 19.10.2021, 12:53
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 45
Default

lts still not working is there a thing i am missing what you are saying

Capture.PNG

Capture1.PNG

Capture2.PNG
Reply With Quote
  #12  
Old 19.10.2021, 14:28
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,389
Default

for all three tests/rules you didn't apply the regex checkbox.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #13  
Old 20.10.2021, 16:11
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,936
Default

@mgpai @raztoki: Thanks for your fast help
@animus as raztoki already explained, you need to enable the regex checkbox on right side of the condition to enable/allow pattern mode
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 20.10.2021, 21:25
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,673
Default

@animus
I recommend using webtools such as regex101.com to easily test your regexes (is simpler and faster than using JD for this purpose plus you will learn it easier).

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
Reply

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 09:05.
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 - 2021, Jelsoft Enterprises Ltd.