JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 23.10.2018, 16:37
thekalinga thekalinga is offline
Modem User
 
Join Date: Oct 2018
Posts: 1
Default Force jdownloader to name the file for any url without setting the name manually in U

I have a url & I want jdownloader to save the file with a predefined name ignoring the name server gives

for example

I have a url like https://board.jdownloader.org/server-file.mp4 & I want this file to be saved as custom-filename.mp4 without using UI

Is it possible to pass a special URL argument to the download URL so that jDownloader can recognise this & save the file with this specific name?

For e.g for the above case, can I paste something like the following url in jdownloader

https://board.jdownloader.org/server...m-filename.mp4 so that jdownloader automatically saves this file as custom-filename.mp4 instead?
Reply With Quote
  #2  
Old 23.10.2018, 17:31
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,158
Default

You can append the custom file name to the URL and parse it using packagizer rule.

Rewrite URL in this format:
Code:
https://board.jdownloader.org/server-file.mp4#filename=custom-filename.mp4

Import this rule in Packagizer (Right-click the 'Raw' button to save file to disk)
Code:
github.com/mgpai/resources/blob/master/jdownloader/packagizer/rules/thekalinga.packagizer
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 10:44.
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 - 2021, Jelsoft Enterprises Ltd.