View Single Post
  #1983  
Old 03.11.2021, 07:58
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,553
Default

Quote:
Originally Posted by JDL1059 View Post
... using a text file and pasting the ... links there ... run a script to check that text file occasionally and import any new downloads.
Code:
/*
    Interval > Add urls
    Trigger : Interval (Recommended 3600000 or more)
*/

var file = "c:\\downloads\\urls.txt";// <- Set path to text file

try {
    var links = readFile(getPath(file));

    callAPI("linkgrabberv2", "addLinks", {
        links: links
    })
} catch (e) {};
Reply With Quote