+ // Title.. + //
+ // + const leftArticles = html('a > p[class="mb-2 line-clamp-2 text-lg font-semibold leading-5"]'); + const articleList = titleH2Element.add(leftArticles).map((_, element) => { + const title = html(element).text(); + const link = `${rootUrl}${html(element).parent('a').attr('href')}`; + return { title, link }; + }); + + const items = await Promise.all( + articleList.toArray().map((article) => + cache.tryGet(article.link, async () => { + const response = await ofetch(article.link); + const $ = load(response); + + //