View Single Post
Old 26.08.2020, 15:46
mgpai mgpai is offline
Script Master
Join Date: Sep 2013
Posts: 1,083

Originally Posted by Bilkoff View Post
Is there something like link.isExtractable or I have to do it only by the file extension?
You can find a list of available methods in the built-in help of the script editor. Following methods return archive object for links/packages, if present. Else, it returns null.

var myArchive = myCrawledLink.getArchive();
var myArchive[] = myCrawledPackage.getArchives();
var myArchive = myDownloadLink.getArchive();
var myArchive[] = myFilePackage.getArchives();
Reply With Quote