JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 29.04.2019, 04:05
Agnostos Agnostos is offline
Storm
 
Join Date: Dec 2014
Posts: 206
Default More than one in one filter

Hi.
How i can add more than on site,host at one filter?
I try to separate the two or more sites with comma but doesn't work.


Here is a picture from that filter to show you cause as a single site filter it work but as multiply sites filter doesn't work.


So which is the correct syntax to block the links for more than one sites?
Attached Thumbnails
Jd2 beta filter.jpg  
Reply With Quote
  #2  
Old 29.04.2019, 10:51
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 520
Default

User regular expression (Enable regex button for the field):

Example:
Code:
(rapidgator\.net|openload\.co|clicknupload\.net)
Reply With Quote
  #3  
Old 29.04.2019, 11:47
Agnostos Agnostos is offline
Storm
 
Join Date: Dec 2014
Posts: 206
Default

So you tell me to use this \. or | to separate the sites?
Cause i try it and doesn't work.


I use this:
"k2c | filejoker" or "k2c\.filejoker" neither of these two works.


Isn't there an easy way to use more than one site to ONE filter?


Like "k2c,filejoker"

Last edited by Agnostos; 29.04.2019 at 11:51.
Reply With Quote
  #4  
Old 29.04.2019, 12:00
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 520
Default

Quote:
So you tell me to use this \. or | to separate the sites?
'|' (vertical bar) is the separator. In regular expression, the '.' (dot character) is a wildcard which matches any single character, once. For it to match a literal dot (.), it should be escaped (\.).

Quote:
"k2c | filejoker" or "k2c\.filejoker" neither of these two works.
Code:
(k2s\.cc|filejoker\.net)

Quote:
Isn't there an easy way to use more than one site to ONE filter?
Not aware if there is any. Jiaz should be able to confirm
Reply With Quote
  #5  
Old 29.04.2019, 12:15
Agnostos Agnostos is offline
Storm
 
Join Date: Dec 2014
Posts: 206
Default

No still doesn't work
with this syntax:
k2s\.cc|filejoker\.net
Reply With Quote
  #6  
Old 29.04.2019, 13:11
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 520
Default

Quote:
Originally Posted by Agnostos View Post
No still doesn't work with this syntax:
k2s\.cc|filejoker\.net
It works:



Quote:
Originally Posted by mgpai View Post
User regular expression (Enable regex button for the field):
Make sure you have enabled the regex button for that field.
Reply With Quote
  #7  
Old 29.04.2019, 13:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,452
Default

(k2s\.cc|keep2share\.cc|filejoker\.net)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 29.04.2019, 13:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,452
Default

Quote:
Originally Posted by mgpai View Post

Not aware if there is any. Jiaz should be able to confirm
I'm sorry but regex is the way to go for more complex rules
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 29.04.2019, 13:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,452
Default

@mgpai: thanks for fast help!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 29.04.2019, 14:34
Agnostos Agnostos is offline
Storm
 
Join Date: Dec 2014
Posts: 206
Default

Quote:
Originally Posted by Jiaz View Post
I'm sorry but regex is the way to go for more complex rules
What do you mean?
Where is the regex?


Like that you mean?
Attached Thumbnails
Jd2 beta filter.jpg  

Last edited by Agnostos; 29.04.2019 at 14:38.
Reply With Quote
  #11  
Old 29.04.2019, 14:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,452
Default

Scroll the window to the right or enlarge it. On right side, there is a checkbox
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 29.04.2019, 14:55
Agnostos Agnostos is offline
Storm
 
Join Date: Dec 2014
Posts: 206
Default

You mean like that?
Cause i try that without space between and it worked.


I don't even put the extension of each site just the site as you see.
Attached Thumbnails
Jd2 beta filter.jpg  

Last edited by Agnostos; 29.04.2019 at 15:00.
Reply With Quote
  #13  
Old 29.04.2019, 15:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,452
Default

Enable Regex Checkbox
and
Quote:
(k2s\.cc|keep2share\.cc|filejoker\.net|depositfiles\.(com|org)|dfiles\.(eu|ru))
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 29.04.2019, 15:10
Agnostos Agnostos is offline
Storm
 
Join Date: Dec 2014
Posts: 206
Default

I have already enabled the regex checkbox.


This is the regex correct?
Attached Thumbnails
Jd2 beta filter.jpg  
Reply With Quote
  #15  
Old 29.04.2019, 15:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,452
Default

Did you test my provided pattern?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 29.04.2019, 16:39
Agnostos Agnostos is offline
Storm
 
Join Date: Dec 2014
Posts: 206
Default

No.
Cause it worked with this syntax i have provided so it doesn't need to test anything else.


THANKS FOR YOUR HELP.
Reply With Quote
  #17  
Old 29.04.2019, 16:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,452
Default

You're welcome.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 30.04.2019, 00:22
Agnostos Agnostos is offline
Storm
 
Join Date: Dec 2014
Posts: 206
Default

My fault DOESN'T work as i though it did.
It need this type you tallied me:
(k2s\.cc|keep2share\.cc|filejoker\.net|depositfiles\.(com|org)|dfiles\.(eu|ru))



Does it need ( and ) to?
Reply With Quote
  #19  
Old 30.04.2019, 09:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,452
Default

No, in this example you don't need the outer ( and ) but the inner
__________________
JD-Dev & Server-Admin
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 01:17.
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 - 2019, Jelsoft Enterprises Ltd.