JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 20.09.2018, 11:42
flopodopo flopodopo is offline
Super Loader
 
Join Date: Sep 2018
Posts: 26
Default linkgrabber filter help

Hi,

This is very confusing so please be gentle.

How do I :

1. Make a filter that will allow ONLY a certain host(s)?

2. Make a filter that will put all certain host(s) together in a group in the linkgrabber tab?

Any filters that I try and create seems to BLOCK everything and therefor gets no results at all.

Thanks.
Reply With Quote
  #2  
Old 20.09.2018, 15:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

Hi,
Just to make it clear Filter are used to filter links. They will not be processed/added to link collector list. Packagizer can modify links/names/packages. So you need both of them

1.) To filter out links, you can either setup multiple filters, for each host you don't want to have, a single rule. Or you could create one single filter that will matches on everything that you don't want to have but is little more complex to maintain.
For example create a Filter - download url contains, archive.org
that will filter out every archive.org download link.

2.) You can create a packagizer rule and create rule with download url contains, archive.org
then set for example package name to Test and each archive.org link will go to package with that name.

Best would be to tell us what exactly you want to achieve and then we can provide examples/help.
Or you show us your rules and we can tell you what is wrong with them.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 20.09.2018, 22:21
flopodopo flopodopo is offline
Super Loader
 
Join Date: Sep 2018
Posts: 26
Default

1. Make a filter that will allow ONLY a certain host(s)?

a. Allow only file-upload.com

b. Allow only file-upload.com, dailyuploads.net and userscloud.com

2. Make a filter that will put all certain host(s) together in a group in the linkgrabber tab?

a. Allow all hosts and group together all links from file-upload.com
so they can easily be found in the list

b. Allow all hosts and group together all links fromfile-upload.com,
dailyuploads.net and userscloud.com so they can easily be found in the list

Thanks.
Reply With Quote
  #4  
Old 21.09.2018, 13:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

1.a)
Settings->Linkgrabber Filter
Create Rule, Downloadurl -> contains not -> file-upload.com
1.b)
Settings->Linkgrabber Filter
Create Rule, Downloadurl -> contains not -> .*(file-upload.com|dailyuploads.cc|userscloud.com).* -> enable regex checkbox
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 21.09.2018, 14:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

2.) you can either create a packagizer rule in Settings-Packagizer
- Downloadurl -> contains not -> file-upload.com or see 1.b)
- then set package name to xy
or
- then set package key to xy
or you can add them and then click in linkcollector sidebar to file-upload and all those links will be selected and you can easily move them to different package or remove/disable....
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 21.09.2018, 14:08
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

In case you need further help, please don't hesitate and ask
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 21.09.2018, 22:23
flopodopo flopodopo is offline
Super Loader
 
Join Date: Sep 2018
Posts: 26
Default

Quote:
Originally Posted by Jiaz View Post
2.) you can either create a packagizer rule in Settings-Packagizer
- Downloadurl -> contains not -> file-upload.com or see 1.b)
- then set package name to xy
or
- then set package key to xy
or you can add them and then click in linkcollector sidebar to file-upload and all those links will be selected and you can easily move them to different package or remove/disable....
Thanks again Jiaz!

You said above create a packagizer rule in Settings-Packagizer
- Downloadurl -> contains not -> file-upload.com
however when I do that it puts everything EXCEPT file-upload.com in the package.

So I made it
- Downloadurl -> contains -> file-upload.com
and it works as it should.

2 more questions about the packagizer rules:

1. The package seems to appear at random - can it be made to appear 1st? (at top)

2. I see a "set filename pattern" in the settings - can it be used to change all letters to lowercase?

Thanks again for all your help!
Reply With Quote
  #8  
Old 23.09.2018, 12:21
flopodopo flopodopo is offline
Super Loader
 
Join Date: Sep 2018
Posts: 26
Default

You said "In case you need further help, please don't hesitate and ask" but you didn’t answer me?
Reply With Quote
  #9  
Old 23.09.2018, 13:21
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,060
Default

@flopodopo
Appwork (company behind JD) doesn't typically work on weekends, please wait Monday during german business hours for Jiaz to respond.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #10  
Old 23.09.2018, 21:18
flopodopo flopodopo is offline
Super Loader
 
Join Date: Sep 2018
Posts: 26
Default

Aaahhhh ... Thanks @raztoki.
Reply With Quote
  #11  
Old 24.09.2018, 15:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

Sorry for late response. Yes, it must be *contains* and not *contains not* You already solved that one by yourself
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 24.09.2018, 15:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

Quote:
Originally Posted by flopodopo View Post
1. The package seems to appear at random - can it be made to appear 1st? (at top)
You can setup JDownloader to add new packages at top of list but as soon as there is another package, that one will be at top. There is no way to *stick* a package at top position.
Settings-Advanced Settings-LinkgrabberSettings.linkgrabberaddattop
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 24.09.2018, 15:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

Quote:
Originally Posted by flopodopo View Post
2. I see a "set filename pattern" in the settings - can it be used to change all letters to lowercase?
That's not possible yet. Why do you want/need such a feature?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 25.09.2018, 02:18
flopodopo flopodopo is offline
Super Loader
 
Join Date: Sep 2018
Posts: 26
Default

Quote:
Originally Posted by flopodopo **External links are only visible to Support Staff**...
2. I see a "set filename pattern" in the settings - can it be used to change all letters to lowercase?
Quote:
Originally Posted by Jiaz View Post
That's not possible yet. Why do you want/need such a feature?

For later sorting. Uppercase sorts before lowercase, etc.


Question:
Can regex be used in the "set filename pattern"?
Reply With Quote
  #15  
Old 25.09.2018, 08:56
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

You can use regex in the *upper/if* section. in the *set/lower* section you can reference the matching groups from above. Don't forget to enable the regex checkbox in the upper section items where you want to use regex
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 25.09.2018, 09:13
flopodopo flopodopo is offline
Super Loader
 
Join Date: Sep 2018
Posts: 26
Default

Guess I'm SOL them LOL!



I don't know all that stuff you’re talking about and I don't know the formula for regex just that you can change uppercase to lowercase with it.


Thanks.
Reply With Quote
  #17  
Old 25.09.2018, 10:26
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 519
Default

Quote:
Originally Posted by Jiaz View Post
... Settings-Advanced Settings-LinkgrabberSettings.linkgrabberaddattop
@Jiaz: That setting is related to moving packages to top in download list. A ticket (#81421) is pending to add a similar setting for linkgrabber tab.

Quote:
Originally Posted by flopodopo View Post
... can it be made to appear 1st? (at top)
... can it be used to change all letters to lowercase?
@flopodopo: You can try Event Scripter Extension.
Reply With Quote
  #18  
Old 25.09.2018, 10:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

Thanks @mgpai!
Yes, I also thought about Eventscripter Maybe you can lead him to a final script (packagizer hook) that auto renames to lower case? That would help him a lot
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 26.09.2018, 07:09
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 519
Default

Code:
github.com/mgpai/resources/blob/master/jdownloader/eventscripter/scripts/flopodopo.js
Reply With Quote
  #20  
Old 26.09.2018, 08:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

@mgpai: Thanks *thumbs up*
__________________
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 02:43.
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.