View Single Post
  #682  
Old 09.04.2019, 03:13
heydoh heydoh is offline
JD Adviser
 
Join Date: Dec 2016
Posts: 102
Default

Hello @mgpai scriptmaster, I was referred to you in this thread - https://board.jdownloader.org/showth...367#post439367

I'm hoping you can help with this one.

Basically I'm looking to auto-rename .rars from this site as well as the single .mp4 inside the rar after unpacked (there is always just one .mp4 file in the rars).

Also, sometimes if it's small enough the download will just be a .mp4 and no rar.

I'm looking to auto-rename in both cases when entered into linkgrabber (and for first one the extracted .mp4 as well).

pastebin.com/DuBjEQYD


.mp4 inside is named exactly as the rar package
HTML Code:
www.0xxx.ws_ATKGirlfriends.19.04.08.Kenzie.Reeves.XXX.2160p.MP4-KTR.mp4
First I would like when these enter the linkgrabber for "www.0xxx.ws_" to be stripped from the front and ".MP4-KTR" to be stripped from the back. Then after these are removed I will sometimes add something to the front of the file name myself for example:
HTML Code:
HELLO123-ATKGirlfriends.19.04.08.Kenzie.Reeves.XXX.2160p.part1.rar
I would like the extract to put the single .mp4 in the same directory (not subdirectory) of the .rars and be renamed to EXACTLY how the .rar is named.

So would be renamed to:
HTML Code:
HELLO123-ATKGirlfriends.19.04.08.Kenzie.Reeves.XXX.2160p.mp4
----

If the download is small and just a .mp4 (not rard) , then I would just need linkgrabbed to remove "www.0xxx.ws_" from the front of the name and ".MP4-KTR" from the end (might be able to do this without a script but I can't figure out how to do the end part.

-----

Sorry for the long wall of text and please let me know if you have any questions. Thanks in advance!

Last edited by Jiaz; 09.04.2019 at 09:59. Reason: Please don't make links visible! Either PM them or send by mail
Reply With Quote