JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.12.2020, 01:33
ashir ashir is offline
Modem User
 
Join Date: Dec 2020
Posts: 2
Default Package management

Hi, I'm trying to download pictures from this site **External links are only visible to Support Staff****External links are only visible to Support Staff**

Now this is a two scenarios question.

On the first escenario I have turn on create package folder on both sites (general options and packager rule).

If I add the links for any gallery I have no problems at all, the links are grabbed, a package is created, I can rename the package, the name of the package is going to be the name of the folder.

Screenshot_1.png

My problem begins when I add a second set of gallery links. All the new files shares the same name of the previous one, but instead of creating a new package, JDownloader 2 makes a package for each file sharing the same file name, so instead of having 2 packages with 10 files each, I end with 10 packages of 2 files each.

Screenshot_2.png

In scenario 2 I turn off create package folder on general options.

With one gallery I end with 10 packages of 1 file each, with 2 galleries I end up with 10 packages of 2 files each.

If I turn off create package folder in the packager rule, with one gallery I get a single package but when I download I have no folder (obviously...), and with 2 galleries I have 10 packages with 2 files each. I leave to your imagination what happens if you download the files this way.

I need to config JDownloader 2 in a way that when I add a second, or third, etc, gallery each gallery is treated like a different package, regardless of the name of the files inside the package (gallery A, package A, 10 files; gallery B, package B, 6 files; gallery C, package C. 86 files) and of course, when I download the packages a folder is created for each package.

Is this possible?, how I do it?
Reply With Quote
  #2  
Old 27.12.2020, 10:42
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,331
Default

sub directory as packagename (package customiser) has no influence over the default packagename.

add links dialog can set a custom package name your eg: 'A'
else without setting a packagename the default packaging is based on filename, which is why you end up with 10 different packages based on filename 01-10

you can use link crawler rules to create support to a url structure and set packagename based on html (json format in advanced settings), or url structure
or
you can make a decrypter plugin which can do the same as above with java code and internal jd code.
or
crawl jobs/folder watch
you can define the packagename yourself
or
package customiser, you can create a rule to create a packagename based on url structure (no access to html)
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 27.12.2020, 14:02
ashir ashir is offline
Modem User
 
Join Date: Dec 2020
Posts: 2
Default

Sorry but my problem is not the name of the packagen my problem is that I add two downloads and I end with 10 packages with 2 links each. If I add 2 downloads with 10 links each I should have 2 packages with 10 links aeach.
Reply With Quote
  #4  
Old 27.12.2020, 15:28
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,331
Default

as stated above thats how its intended to work.
unless you specify given packagename they will be grouped based on filename (sorted) else placed into a specified packagename you provide (add links dialog) (many:many)
if you want one package with 10 links add 1 link at a time (1:many) and define the packagename
else create crawler rule, or package customiser to define/set the packagename based on url structure. thus creating unique packagename for each url. (1:many)
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

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

Last edited by raztoki; 27.12.2020 at 15:31.
Reply With Quote
  #5  
Old 07.02.2021, 02:04
Karolina Karolina is offline
Modem User
 
Join Date: Feb 2021
Posts: 1
Default

And how can you group a set of URLs under the same folder? I am having that problem but I am not able to post my request
Reply With Quote
  #6  
Old 07.02.2021, 03:23
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,331
Default

@Karolina
as stated in post original response you can define in the ways mentioned.

Quote:
Originally Posted by raztoki View Post
you can use link crawler rules to create support to a url structure and set packagename based on html (json format in advanced settings), or url structure
or
you can make a decrypter plugin which can do the same as above with java code and internal jd code.
or
crawl jobs/folder watch
you can define the packagename yourself
or
package customiser, you can create a rule to create a packagename based on url structure (no access to html)
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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 17:06.
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.