View Single Post
  #5  
Old 07.12.2019, 15:19
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,423
Default

CrawledLink source = getCurrentLink();
if (source != null) {
DownloadLink link = source.getDownloadLink(); // This gives link == null
if (link != null) {
String filename = link.getStringProperty("filename", null);
logger.info("filename: " + filename);
}
}
__________________
FAQ: How to upload a Log
Reply With Quote