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

Quote:
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.

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