JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 19.07.2020, 14:21
DukeM's Avatar
DukeM DukeM is offline
JD Adviser
 
Join Date: Sep 2019
Posts: 113
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
  #2  
Old 19.07.2020, 16:53
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

Please provide example links.
__________________
FAQ: How to upload a Log
Reply With Quote
  #3  
Old 19.07.2020, 18:42
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

if plugin exist for service its corrected within plugin. As tony mentioned please provide example links which are problematic
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #4  
Old 19.07.2020, 20:25
DukeM's Avatar
DukeM DukeM is offline
JD Adviser
 
Join Date: Sep 2019
Posts: 113
Default

Sorry for not providing it in the first place. Here you go (note:NSFW): **External links are only visible to Support Staff****External links are only visible to Support Staff**

To further expand, you can compare the file name that is shown on the provided link (above the player frame) vs how I described the file name that JD2 fetches which can also be seen in the full direct download link:

**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #5  
Old 20.07.2020, 13:42
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

Fixed

caused by generic fail over in our plugin. but ultimately caused by a bug on sibsoft platform which they should fix.

anyway work around added within our plugin

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 20.07.2020 at 13:45.
Reply With Quote
  #6  
Old 20.07.2020, 20:07
DukeM's Avatar
DukeM DukeM is offline
JD Adviser
 
Join Date: Sep 2019
Posts: 113
Default

Oh wow, awesome. Thank you, @raztoki!
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 15:46.
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.