View Single Post
  #2530  
Old 15.12.2022, 03:04
SMS SMS is offline
Mega Loader
 
Join Date: Jun 2019
Posts: 64
Default

Hi! I'm trying to add an additional download from a script whose Trigger is "Packagizer Hook". I try:

Code:
		myObject = callAPI("linkgrabberv2", "addLinks", {
			"links": link,
			"packageName": packageName,
			"destinationFolder": destinationFolder
		});
But the plugin that handles that newly added link (mega co nz) overrides the packageName and destinationFolder in some cases (when the link is a mega co nz folder with several files).

How can I influence the packageName OR destinationFolder?

Maybe the aforementioned myObject somehow allows finding the links in the LinkGrabber and changing the package name? alert(myObject); yields just a number, I don't know what I can do with that number.

A separate Event Scripter script that catches the links added by the mega co nz plugin wouldn't know what package name the original script wanted.
Reply With Quote