JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 23.01.2022, 00:17
mirror51 mirror51 is offline
JD Alpha
 
Join Date: Mar 2017
Posts: 21
Default [Packagizer] Any Way to delete some words from filename ?

Suppose that some filehosters add their name to filename like

Samples_data_NITROFLARE_files.rar


I want that when that file is saved then NITROFLARE words is removed from it.

I cant find any packager rules to delete something from filename
Reply With Quote
  #2  
Old 24.01.2022, 16:03
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 61,533
Default

Hi,
sure this is possible.
You can do it using our Packagizer feature.
Also, technically speaking you are not removing anything but you e.g. take "everything that is before '_nitroflare'" and then build a new filename out of this.
If you fail to do it, let us know and we'll provide further help.

It would be helpful to have real example URLs so we can help easier.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 25.01.2022, 03:21
mirror51 mirror51 is offline
JD Alpha
 
Join Date: Mar 2017
Posts: 21
Default

Real Example is tough

Example This is URL
Quote:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
I want to remove everything before Superhero.

Can we use regex stuff within packager ?
Reply With Quote
  #4  
Old 25.01.2022, 13:43
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 61,533
Default

Quote:
Originally Posted by mirror51 View Post
Can we use regex stuff within packager ?
As explained here, yes you can use regular expression in the Packagizer.

Here is an example rule that gets the job done though I don't know which other variations of filenames you might want to cover -> You might need to adjust the that regular expression.

Screenshot:


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 27.01.2022, 01:21
mirror51 mirror51 is offline
JD Alpha
 
Join Date: Mar 2017
Posts: 21
Default

Thanks, You guys are amazing. I cant believe how powerful JD is.
There should be a Book published on unleashing the power of JD
Reply With Quote
  #6  
Old 27.01.2022, 13:31
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 61,533
Default

Quote:
Originally Posted by mirror51 View Post
Thanks, You guys are amazing. I cant believe how powerful JD is.
Thanks for your feedback

Quote:
Originally Posted by mirror51 View Post
There should be a Book published on unleashing the power of JD
That would be cool...but we don't have the time for that :(

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
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 00:49.
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.