This commit is contained in:
vu-tran
2025-07-04 14:01:05 +07:00
parent fc74d7c33f
commit d864aee7e1

View File

@@ -329,8 +329,8 @@ public class InvestingTask {
String title = aTag != null ? aTag.text().trim() : null;
String link = aTag != null ? url_request + aTag.attr("href") : null;
Element imgTag = article.selectFirst("figure img");
String image = imgTag != null ? imgTag.attr("data-src") : null;
Element imgTag = article.selectFirst("figure a picture img");
String image = imgTag != null ? imgTag.attr("src") : null;
Element timeTag = article.selectFirst("small.article-info time");
Date publishedDate = null;