Skip to content

Commit

Permalink
category finding
Browse files Browse the repository at this point in the history
  • Loading branch information
canonnizq committed Oct 27, 2024
1 parent dd6092e commit b7dc08e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/routes/aimeta/blog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ async function handler() {

const items = $('div._amsu')
.toArray().map((item) => ({
title: $(item).children('p._amt2').first().text(),
category: $(item).children('p._amt0').first().text(),
link: $(item).children('a._amt1').first().attr('href'),
title: $(item).children('p._amt2').first().text(),
description: $(item).children('p._amt3').first().text(),
pubDate: parseDate($(item).children('div._amt4').first().text())
}))
Expand Down

0 comments on commit b7dc08e

Please sign in to comment.