View Single Post
Old 25.09.2019, 08:23
Demongornot Demongornot is offline
JD Beta
Join Date: Sep 2019
Location: Universe, Local group, Milky Way, Solar System, Earth, France
Posts: 50

How can I get the list of added crawled links from a crawler id or a job id when it is finished ?

I tried multiples things using JSON and objects but I always got error...
    var lscq = '{\r\n  "collectorInfo" : true,\r\n  "jobIds": ' + jid + '\r\n}';
    var lscq2 = '{"collectorInfo" : true, "jobIds": ' + jid + '}';
    var jst = JSON.stringify(lscq);
    alert(callAPI("linkgrabberv2", "queryLinkCrawlerJobs", lscq2));

Edit :
Nevermind for the error, after trying many variant I finally found a way :
    var lscq = {
        "collectorInfo": true,
        "jobId": jid
    alert(callAPI("linkgrabberv2", "queryLinkCrawlerJobs", lscq));
Still don't know what API call to use for getting which links said crawler job id added, but I'll still try to find it myself until someone can answer me anyway.

Last edited by Demongornot; 25.09.2019 at 11:03.
Reply With Quote