dev add check similar
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-04-29 17:41:41 +07:00
parent 67204d1c5c
commit 93da73e90b
2 changed files with 45 additions and 36 deletions
@@ -149,38 +149,24 @@ public class ImageFoundRequestHandler implements RequestHandler {
YandexSearchResponse.ImageResult image = allUniqueImages.getFirst();
String url = image.getUrl();
Path tempFile = null;
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info(String.valueOf(image));
log.info(String.valueOf(image));
log.info(String.valueOf(image));
log.info(String.valueOf(image));
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info(image.getPageTitle());
log.info(image.getPageUrl());
log.info(image.getHost());
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info(url);
log.info(url);
log.info(url);
log.info(url);
log.info(url);
log.info(url);
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
log.info("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
try {
tempFile = fileUploadService.downloadImageFromUrl(url);
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
log.info("tempFile: " + tempFile.toAbsolutePath());
String filePath = tempFile.toAbsolutePath().toString();