View Single Post
  #122  
Old 26.06.2017, 07:25
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,130
Default

It is not possible to get just the 'new updates' using event scripter, unless it is a RSS feed (even then, it is not very simple). Each time a link is checked, all links subsequently originating from that link will be fetched. Configure JD (Advanced Settings: LinkgrabberSettings.handledupesonconfirmlatestselection) to automatically remove duplicate links.

Code:
// Add link at user defined interval
// Trigger required: 'Interval'
// Set interval to 3600000 ms (1 Hour) or more

var link = "**External links are only visible to Support Staff**; // <- Set download link

if (interval >= 3600000) {
    callAPI("linkgrabberv2", "addLinks", {
        "autostart": true,
        "deepDecrypt": false, // <- Set to 'true' to enable deep analyse
        "links": link,
    })
}
Reply With Quote