JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 01.12.2024, 04:45
SirJohnny SirJohnny is offline
Junior Loader
 
Join Date: Oct 2019
Posts: 14
Default I can't set the package name using linkgrabberv2 and addLinks

I am trying to read an rss feed when I push a button:

Code:
if (name == "RSSFeedButton") {
	alert("Reading RSS Feed");
	const rssFeedURL = " ";
	   
	callAPI("linkgrabberv2", "addLinks", {
			"deepDecrypt": true,
			"overwritePackagizerRules": true,
			"packageName ": "RSS Feed",
			"links": rssFeedURL,
		})	
}
The result is that every file is in a different package by itself and not in a single package with the name I want.
Reply With Quote
  #2  
Old 01.12.2024, 06:07
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,685
Default

not sure but it could be due to multiple things. Another plugin could be setting packagename but the first name (yours) should override that.

maybe.. Single child packages could also be placed in various group, settings > advanced settings > filter: various. You can disable default true to false .. but this would be a static naming
__________________
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 01.12.2024, 06:24
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,656
Default

Quote:
Originally Posted by SirJohnny View Post
The result is that every file is in a different package by itself and not in a single package with the name I want.
Remove the SPACE from the "packageName " key.
Reply With Quote
  #4  
Old 01.12.2024, 06:39
SirJohnny SirJohnny is offline
Junior Loader
 
Join Date: Oct 2019
Posts: 14
Default

Quote:
Originally Posted by mgpai View Post
Remove the SPACE from the "packageName " key.
That was humbling. Thanks.
Reply With Quote
  #5  
Old 01.12.2024, 08:19
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,685
Default

hah ok, thx mgpai
__________________
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 16:12.
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 - 2025, Jelsoft Enterprises Ltd.