JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.11.2020, 23:38
nathan1 nathan1 is offline
JD VIP
 
Join Date: Apr 2012
Posts: 379
Default Renaming packets name using an ordered list (if...then condition)

Dear Staff
I wanted to know if it is possible to implement this particular function for JD2, but before I need to introduce the context

Last edited by Jiaz; 06.11.2020 at 10:31. Reason: Removed content because contains sensitive data
Reply With Quote
  #2  
Old 06.11.2020, 10:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,953
Default

You should use Crawljob files for this. Install Folderwatch Extension in Settings, scroll down and there install the extension and restart JDownloader.
Then you can create crawljob files (use board search), for example:
https://board.jdownloader.org/showth...light=crawljob
save it as XYZ.crawljob and then you can add via LoadContainer or Drag/Drop and JDownloader will parse the text entry and apply the properties. See Settings->Folderwatch Extension for a list of available options
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 06.11.2020, 10:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,953
Default

As an alternative you can also use Packagizer and use if condition on sourceURL contains, there you can use a matching group via regex and then set package name to it

sourceURL - contains - enable regex checkbox on right side
Quote:
.*/software/([^/]*).html
then set
packagename to
Quote:
<jd:source:1>
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 06.11.2020 at 10:37.
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 18:03.
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 - 2022, Jelsoft Enterprises Ltd.