|
|
|
@ -243,7 +243,7 @@ public class yacysearchitem {
|
|
|
|
|
}
|
|
|
|
|
EventTracker.update(EventTracker.EClass.SEARCH, new ProfilingGraph.EventSearch(theSearch.query.id(true), SearchEventType.FINALIZATION, "" + item, 0, 0), false);
|
|
|
|
|
final String ext = MultiProtocolURL.getFileExtension(resultFileName).toLowerCase();
|
|
|
|
|
if (ext.equals("png") || ext.equals("jpg") || ext.equals("gif")) {
|
|
|
|
|
if (MultiProtocolURL.isImage(ext)) {
|
|
|
|
|
final String license = URLLicense.aquireLicense(resultURL);
|
|
|
|
|
prop.put("content_code", license);
|
|
|
|
|
} else {
|
|
|
|
|