JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 16.11.2019, 04:55
globus999 globus999 is offline
DSL Light User
 
Join Date: May 2011
Posts: 32
Default Packagizer - Different Packages for same Link Name

Hi,
Let's say that I have repeated names for two different http links:

Name_01
Name_01

The first "Name_01" corresponds to **External links are only visible to Support Staff****External links are only visible to Support Staff**
The second "Name_01" corresponds to **External links are only visible to Support Staff****External links are only visible to Support Staff**

If I right-click on the first Name_01 and copy to cliboard, LinkGrabber / Packagizer will create:

Name = Name_01
SaveTo = C:\Folder01\Name_01

This is, all the files under **External links are only visible to Support Staff****External links are only visible to Support Staff** will end up in
C:\Folder01\Name_01 once downloaded.

Then, if I right-click on the second Name_01 and copy to clipboard, LinkGrabber / Packagizer will NOT create a second entry; this is, all the files from **External links are only visible to Support Staff****External links are only visible to Support Staff** will also end up in C:\Folder01\Name_01 once downloaded.

Of course, as per mirror rules, files with similar names will be renamed/indexed.

However, is there a way to force Packagizer (new rule?) to create TWO packages instead? That would be something like:

C:\Folder01\Name_01_First_Package <- **External links are only visible to Support Staff****External links are only visible to Support Staff**
C:\Folder01\Name_01_Second_Package <- **External links are only visible to Support Staff****External links are only visible to Support Staff** link.

I know that it is possible to do this by using part of the URL as each URL is different (although I don't know how).

Is there a way to do this universally? This is, that new packages will be created every time there is different URL even if the link Name is the same?

Basically, I don't care what the new names are (index, url,some magic code, etc.) so long as the name is not too long.

Any help would be appreciated!

Tx!
Reply With Quote
  #2  
Old 16.11.2019, 09:45
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,272
Default

hi you will need to use the following,
manually enter in a link at a time via the add link dialog with user defined package name,
or
linkcrawler rules and set a packagename,
or
dedicated decrypter plugin and set a packagename.
__________________
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 16.11.2019, 16:28
globus999 globus999 is offline
DSL Light User
 
Join Date: May 2011
Posts: 32
Default

Hi, Tx for the reply. However, I am a little bit confused. Pls see below.

Quote:
Originally Posted by raztoki View Post
hi you will need to use the following,
manually enter in a link at a time via the add link dialog with user defined package name,
or
linkcrawler rules and set a packagename,
or
dedicated decrypter plugin and set a packagename.
These are all manual processes, one-at-the-time. This won't work.

Let me suggest something. Each link name is linked to a different URL. How do I parse that URL name (or portion) and append it to the package / folder name?

In this manner, each package / folder name will be different.

From what I have seen, this *should* be possible with a custom Packagizer rule. This correct?

Tx
Reply With Quote
  #4  
Old 17.11.2019, 00:43
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,272
Default

Quote:
Originally Posted by globus999 View Post
These are all manual processes, one-at-the-time. This won't work.
No just the first is manual, the latter are automated based on inputs or findings within html.

more info on the second https://board.jdownloader.org/showth...008#post422008
google search: linkcrawler rules site:board.jdownloader.org

third is the most powerful but you need to setup IDE and workspace with all the projects to write/compile/test. thousands of working examples as existing plugins.
more info http://jdownloader.org/knowledge/wik...nt/get-started
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #5  
Old 17.11.2019, 18:16
globus999 globus999 is offline
DSL Light User
 
Join Date: May 2011
Posts: 32
Default

Tx for the info, but I pass. I was looking for something straightforward, not to dive into coding. I do appreciate the effort though, but this is something that should be there by default. It is exactly the same as file mirroring but for packages.
Tx again.
Reply With Quote
  #6  
Old 17.11.2019, 23:24
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,272
Default

second is the solution for you, no coding required. just regular expressions and formatting into json with encoding. packagename can be something from within the url structure as you described.
__________________
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 18:30.
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 - 2019, Jelsoft Enterprises Ltd.