It is currently March 28th, 2024, 6:25 pm



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Replace filename append section name.
PostPosted: January 25th, 2022, 4:37 pm 

Joined: April 1st, 2014, 3:11 pm
Posts: 27
Hello, how do i add section names before the filenames ? the program failed to grab information from sources (dlsite, dmm) when i try manually rename the folder/files before uploading.

For example:
https://www.dlsite.com/maniax/work/=/pr ... 66739.html

I want to add CG- before RJ366839 for the filename (CG-RJ366839.rar)
or Game-RJXXXXXX
(CG,Game are the Sections)


Top
 Profile  
Reply with quote  
 Post subject: Re: Replace filename
PostPosted: January 25th, 2022, 5:17 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Hi,

you can do that with replacement, add under "REPLACEMENTS" -> "Subject" tab -> with "Apply to" selected "Filename":

Search for:
Code:
^


Replace with:
Code:
<sectionName>-


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replace filename
PostPosted: January 25th, 2022, 5:29 pm 

Joined: April 1st, 2014, 3:11 pm
Posts: 27
Freddy wrote:
Hi,

you can do that with replacement, add under "REPLACEMENTS" -> "Subject" tab -> with "Apply to" selected "Filename":

Search for:
Code:
^


Replace with:
Code:
<sectionName>-


Enable regex search.


Thank you ! it work great.
Another request: can you add getchu.com to sources list ? its very similar to dlsite/dmm.
Example page: http://www.getchu.com/soft.phtml?id=1090407


Top
 Profile  
Reply with quote  
 Post subject: Re: Replace filename append section name.
PostPosted: January 25th, 2022, 5:32 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Will take a look.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replace filename append section name.
PostPosted: May 18th, 2022, 8:29 pm 

Joined: January 7th, 2014, 8:52 am
Posts: 168
This code before, how to added afterthe link, example
CG-RJ366839.rar
CG-RJ366839 MYSITE.COM.rar ?

Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Replace filename append section name.
PostPosted: May 18th, 2022, 8:33 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Hi,

you can do that with replacement, add under "REPLACEMENTS" -> "Subject" tab -> with "Apply to" selected "Filename":

Search for:
Code:
$


Replace with:
Code:
 MYSITE.COM


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC