View Single Post
  #1  
Old 19.07.2020, 13:21
DukeM DukeM is offline
DSL Light User
 
Join Date: Sep 2019
Posts: 30
Default https://aparat.cam/ - Custom File Naming Convention/Rules

Is there a way to apply some sort of naming rule on to fetched downloads? I'm specifically asking for **External links are only visible to Support Staff****External links are only visible to Support Staff** as it seems not to identify spaces and parentheses(at least what I can notice for now) for filenames.

This seems to be embedded onto the actual files from the host itself as the generated direct download links would not show the actual characters as well.

I honestly forgot what they're called and can't seem to remember right now but here's the gist of it:

Spaces become _
( becomes &_40;
) becomes &_41;

So, if you have a file named "I Love You (Maybe).jk"

**External links are only visible to Support Staff****External links are only visible to Support Staff** changes the actual file name to "I_Love_You_&_40;Maybe&_41;.jk"

And as you can see, it would get quite annoying to look at and a bit taxing if I have to manually rename dozens of links that I have automatically fetched from there throughout a day.

So, is it possible to add some sort of custom rules for file naming even just for this host's plugin? An automatic one would be great but I wouldn't mind if I have to set my own rules kind of similar to the old Filebot naming rules like:
Code:
{n.replaceAll(/[&_40|]/, " ( ")
Thank you!
Reply With Quote