JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.09.2023, 16:25
Mxfwdspd Mxfwdspd is offline
Baby Loader
 
Join Date: Sep 2023
Posts: 5
Default Packagizer help

Hi, trying to see how to setup the packagizer to cleanup my download structure. Currently the linkgrabber is separating the subfolders as separate downloads, which is great but I'm trying to have the download folder names shortened to exclude the name of the source website. In other words, only have the downloaded folder names match exactly how they are titled on the source without the preamble host name. Hope that makes sense, I just need the folder names to match otherwise I'll have to edit the a lot of downloaded folder names after the fact. Thanks.
Reply With Quote
  #2  
Old 06.09.2023, 16:33
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,662
Default

Hi,
did you already try to build a rule on your own?
Packagizer help articles:
https://support.jdownloader.org/Know...paketverwalter

Also: Without example URLs it is impossible to help you here since I cannot know how the part of package-name you want to remove looks like.
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Reply With Quote
  #3  
Old 06.09.2023, 17:22
Mxfwdspd Mxfwdspd is offline
Baby Loader
 
Join Date: Sep 2023
Posts: 5
Default

Quote:
Originally Posted by pspzockerscene View Post
Hi,
did you already try to build a rule on your own?
Packagizer help articles:
**External links are only visible to Support Staff**...

Also: Without example URLs it is impossible to help you here since I cannot know how the part of package-name you want to remove looks like.

Thanks for the reply! Here's the URL I'm using:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

I just want the download folders to match the exact names as listed in the URL folder structure. By default it's being renamed with the main directory name included with every subfolder.
Reply With Quote
  #4  
Old 06.09.2023, 17:28
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,662
Default

I'm not sure if I get what you want:
The massive amount of packages along with the "strange names" happen because JD will try to preserve the serverside folder structure.
Reference:
https://support.jdownloader.org/Know...lder-structure
If you force JD to merge all results coming from this link into one package, you will loose all of the serverside folder structure.

If you wish to do this anyways, I can tell you how to do it.
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Reply With Quote
  #5  
Old 06.09.2023, 19:16
Mxfwdspd Mxfwdspd is offline
Baby Loader
 
Join Date: Sep 2023
Posts: 5
Default

Quote:
Originally Posted by pspzockerscene View Post
I'm not sure if I get what you want:
The massive amount of packages along with the "strange names" happen because JD will try to preserve the serverside folder structure.
Reference:
**External links are only visible to Support Staff**...
If you force JD to merge all results coming from this link into one package, you will loose all of the serverside folder structure.

If you wish to do this anyways, I can tell you how to do it.
Here is an example of what I'm hoping to achieve. From the knowledge base article, let's say you have
/rootFoldername/subfolder1/somefile1.txt, I'm trying to get the package named "subfolder1"... instead, it's being named "rootFoldername_subfolder1" for each link using the default packagizer settings. Not sure what rule I'd have to create in order to get rid of the root folder name in each package, just preserve the subfolder names.
Reply With Quote
  #6  
Old 07.09.2023, 01:32
Mxfwdspd Mxfwdspd is offline
Baby Loader
 
Join Date: Sep 2023
Posts: 5
Default

Quote:
Originally Posted by pspzockerscene View Post
I'm not sure if I get what you want:
The massive amount of packages along with the "strange names" happen because JD will try to preserve the serverside folder structure.
Reference:
**External links are only visible to Support Staff**...
If you force JD to merge all results coming from this link into one package, you will loose all of the serverside folder structure.

If you wish to do this anyways, I can tell you how to do it.

Nevermind, it appeared that JD was going to rename the packages incorrectly but after downloading a few links the folder structure appears to be right. It didn't look OK in the link grabber at first. Thanks for your help!
Reply With Quote
  #7  
Old 07.09.2023, 11:01
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,662
Default

Thanks for the feedback!

The main confusion may come from JDownloader's inability to display sub-packages.
To preserve the folder structure, each files which are supposed to go into one folder will need to go into one package.

Quote:
Originally Posted by Mxfwdspd View Post
/rootFoldername/subfolder1/somefile1.txt, I'm trying to get the package named "subfolder1"... instead, it's being named "rootFoldername_subfolder1" for each link using the default packagizer settings. Not sure what rule I'd have to create in order to get rid of the root folder name in each package, just preserve the subfolder names.
While this may be possible with some scripting, I highly advise against it.
Just think about what would happen to files inside nested subfolders with the exact same folder name e.g.:
/rootFoldername/subfolder1/somefile33.txt
/rootFoldername/subfolder2/subfolder1/somefile22.txt
/rootFoldername/subfolder3/otherFolder/subfolder1/somefile.txt

-> They would all go into package "subfolder1" or at least they would all be in a package named the same: "subfolder1" -> In the end you wouldn't be able to tell which is which anymore.
Also, different folders could also contain different files with the same name -> Putting all into one package would cause conflicts here too.
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

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 01:14.
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 - 2023, Jelsoft Enterprises Ltd.