Skip to content

Commit 8af51dd

Browse files
committed
Update action.ts
1 parent 227a12a commit 8af51dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/action.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ for (let page = pages; page > 2; page--) {
2929
)
3030

3131
subPage.body.querySelectorAll('.section-container .section-content .article-list .article-list-item a').forEach((element) => {
32-
snapshots.push({url: element.getAttribute('href')!, title: element.innerHTML.split(' - ')[1]})
32+
snapshots.push({url: element.getAttribute('href')!, title: element.innerHTML.split(' - ')[1].trim()})
3333
})
3434
}
3535

36-
console.log(snapshots)
36+
console.log(Deno.inspect(snapshots, {iterableLimit: Infinity}))
3737

3838

3939
// https://feedback.minecraft.net/hc/en-us/sections/360002267532-Snapshot-Information-and-Changelogs

0 commit comments

Comments
 (0)