JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 11.03.2020, 13:20
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,484
Default

Quote:
Originally Posted by BJN01 View Post
[just for peace of mind, with these commands I'm only going to delete the links of files "to be downloaded", I don't delete files already on HD or in download right?]
Yes. Only links from linkgrabber tab will be matched/removed,

Quote:
p.s= can all linkgrabber links be saved to a txt file?
Code:
// Save linkgrabber urls to text file
// Trigger: Toolbar Button Pressed

if (name == "Export linkgrabber links") {
    var myFolder = JD_HOME; // Set any existing folder to save files (Default location: <JDownloader> install folder)
    var date = new Date().toString().substr(4, 17).replace(":", ".");
    var myFile = getPath(myFolder + "/linkgrabber urls - " + date + ".txt");

    var urls = getAllCrawledLinks().map(function(link) {
        return link.getUrl();
    })

    if (urls.length) writeFile(myFile, urls.join("\r\n") + "\r\n", true);
}
Reply With Quote
 

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 13:37.
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 - 2023, Jelsoft Enterprises Ltd.