JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 21.03.2017, 13:06
Amlet Amlet is offline
Baby Loader
 
Join Date: Jul 2014
Posts: 8
Default rename bulk of images with packagizer

Hello, I can't figure out how to set a rule to rename a group of images from a url of a specific site.

if
url source > contains > deviantart.com OR othersite.com OR anotherone.org

then
file name > ???

there is a regex or command line for this?

Last edited by Amlet; 21.03.2017 at 13:35.
Reply With Quote
  #2  
Old 21.03.2017, 13:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Use Packagizer in Settings-Packagizer

How exactly do you want to *rename* ?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 21.03.2017, 16:19
Amlet Amlet is offline
Baby Loader
 
Join Date: Jul 2014
Posts: 8
Default

Quote:
Originally Posted by Jiaz View Post
Use Packagizer in Settings-Packagizer

How exactly do you want to *rename* ?
Rename the file like an increasing counter, for example: 0001, 0002... etc

Also how I can insert more url source and make something similar an OR beetwen more domains?
Reply With Quote
  #4  
Old 21.03.2017, 16:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Increasing counter can be done via <jd:indexof> tag. JDownloader will replace it by position of file within its package.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 21.03.2017, 16:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Quote:
Originally Posted by Amlet View Post
Also how I can insert more url source and make something similar an OR beetwen more domains?
You want a rule to match on multiple urls?
Do you know regex?
for example .*?(test.com|bla.com|super.de).+
and enable the regex checkbox on the right side
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 21.03.2017, 16:59
Amlet Amlet is offline
Baby Loader
 
Join Date: Jul 2014
Posts: 8
Default

Both worked pretty well, thanks.
Reply With Quote
  #7  
Old 21.03.2017, 17:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

You're welcome Thanks for the feedback!
__________________
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 12: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 - 2024, Jelsoft Enterprises Ltd.