Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

use curl downloads in download script with silent mode

Michael Peter Christena7b41bd20606
diff --git a/htroot/js/yacyinteractive.js b/htroot/js/yacyinteractive.js
index 188780e94..896f44899 100644
--- a/htroot/js/yacyinteractive.js
+++ b/htroot/js/yacyinteractive.js
@@ -215,7 +215,7 @@ function resultLine(type, item, linenumber) {
}
// update download script
- if (item.link.indexOf("smb://") >= 0) script += "smbget -n -a -r \"" + item.link + "\"\n"; else script += "curl -OL \"" + item.link + "\"\n";
+ if (item.link.indexOf("smb://") >= 0) script += "smbget -n -a -r \"" + item.link + "\"\n"; else script += "curl -sOL \"" + item.link + "\"\n";
// make table row
var html = "";