Hello,
I am currently trying to crawl a tiktok account and wish to not do it manually. Sometimes the user will post videos and would sometimes delete them. I'm trying to write a script that will search for the tiktok profile link provided then download the link if found. Basically, a refresh of the link so it will get the most up to date video.
I've read upon @pspzockerscene's report at (
https://board.jdownloader.org/showth...314#post511314).
There he says, "
Now you could add that profile URL every day to update your personal library of clips of that profile.
While JDownloader does not support that out of the box, you could also automate this process using an EventScripter script"
I am in the process of writing the script but i am running to a problem.
Here is my current script.
--------------------------------
};
// Define the link to search for
var link = "**External links are only visible to Support Staff**;
// Search for the link in JDownloader
var linkFound = false;
var linkList = getAllDownloadLinks();
for (var i = 0; i < linkList.length; i++) {
if (linkList[i].getURL() == link) {
linkFound = true;
break;
}
}
// If the link is found, start the download
if (linkFound) {
var dl = createDownload(link, "Downloads");
dl.start();
}
--------------------------------
Error: ReferenceError: "DownloadLink" is not defined. (#2)
Let me know if there are easier ways to do this, and let me know how i should rewrite the script. Thanks.