JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 02.12.2019, 05:14
kvothe kvothe is offline
Modem User
 
Join Date: Nov 2019
Posts: 2
Default JD2 filename formatting question

Hello,

Here is a sample link, kindly note that the content is NSFW.


Spoiler:

**External links are only visible to Support Staff****External links are only visible to Support Staff**


When I paste that in the program, the filename in the queue is quite long:

Spoiler:
Laney Grey & Charles Dera+ - Titanic Slut - (10.24.2019) - #Brunette #Slim #Skinny #Petite #Teen #Tits #SmallTits #NaturalTits #Fingering #Blowjob #Deepthroat #Gag #Gagging #Handjob #Titjob #POV #Doggystyle #Ass #Booty #Hardcore #Rough #Sloppy #Slapping #Spanking #Spitting #Choking #Roleplay #Cum #Cumshot #Creampie.mp4


I basically want the resulting filename to be:

Spoiler:
Laney Grey & Charles Dera+ - Titanic Slut - (10.24.2019) -.mp4


Basically I want to remove all the words associated with the "#" in the filename.

How do I do these in the packagizer?

thanks!
Reply With Quote
  #2  
Old 02.12.2019, 06:12
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,439
Default

with the use package customiser && regex
filename: contains = ([^#]+)(?:#\S+\s*)+(.*?)
then
filename: <jd:orgfilename:1><jd:orgfilename:2>.<jd:orgfiletype>
__________________
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 02.12.2019, 19:15
kvothe kvothe is offline
Modem User
 
Join Date: Nov 2019
Posts: 2
Default

awesome, it works!

Thanks.

Quote:
Originally Posted by raztoki View Post
with the use package customiser && regex
filename: contains = ([^#]+)(?:#\S+\s*)+(.*?)
then
filename: <jd:orgfilename:1><jd:orgfilename:2>.<jd:orgfiletype>
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 09:08.
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.