View Single Post
  #691  
Old 15.04.2019, 10:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,945
Default

@mgpai: thanks for nice solution. you could also check for status. for example finished status and skip those
or instead of getAllDownloads (which will create huge array), better use getAllPackages and then iterate through all of them via package.getDownloadLinks. much less memory usage then
__________________
JD-Dev & Server-Admin
Reply With Quote