JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 15.02.2018, 04:21
mazeme
Guest
 
Posts: n/a
Default Archive Extractor, archive types

Hi,

Is there any way to tell the Archive Extractor to ignore .rar files but extract .zip files?

thanks!
Reply With Quote
  #2  
Old 15.02.2018, 04:45
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

best way I can see is

disables all extraction except the patterns you specify.

settings > archive extractor
disable the checkbox 'extract archives after download'
settings > package customiser && create a new rule
file type, custom; rar|r\d{2} (check the regex checkbox)
goto the bottom, and check extract archives function
save
when links add to linkgrabber the rule will be applied.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 15.02.2018, 11:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,544
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 16.02.2018, 05:31
mazeme
Guest
 
Posts: n/a
Default

Thanks, that is a good solution in general, however I managed to bump into some quirks and possibly a bug.

So it turns out that once the packagizer overrides the global extraction rule for a particular file, this gets recorded here:
(only after jd restart or shutdown)
Code:
<jdroot>/cfg/archives/<id>.json
In the autoExtract property:
Code:
"autoExtract" : "TRUE",
Once this is recorded it can't be changed by the packagizer anymore, even if you delete or change your rule, so it was very frustrating for me because I was testing with the same URL all the time

The possible bug:

The custom extraction rules are completely ignored when you add your links through the MyJdownloader web gui. The resulting packages will always follow the global extraction rule.

Could you please look into this second part please?

Thanks!
Reply With Quote
  #5  
Old 16.02.2018, 08:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,544
Default

Packagizer only is applied during crawling/adding. Existing links are not touched.
You can mass change via selection + rightclick context menu.
In Webinterface there is a checkbox *Overwrite Packagizer rules*, this must be disabled, else the settings from add links dialog will be set
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 17.02.2018, 07:54
mazeme
Guest
 
Posts: n/a
Default

Alright! I managed to make this work. Thanks for your help!
Reply With Quote
  #7  
Old 17.02.2018, 10:05
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

most welcome.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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 17:30.
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.