|
#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
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. :] |
#3
|
|||
|
|||
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.
|
#4
|
||||
|
||||
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 16:31. |
#5
|
|||
|
|||
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
|
#6
|
||||
|
||||
@Karolina
as stated in post original response you can define in the ways mentioned. Quote:
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
Thread Tools | |
Display Modes | |
|
|