We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227a12a commit 8af51ddCopy full SHA for 8af51dd
src/action.ts
@@ -29,11 +29,11 @@ for (let page = pages; page > 2; page--) {
29
)
30
31
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]})
+ snapshots.push({url: element.getAttribute('href')!, title: element.innerHTML.split(' - ')[1].trim()})
33
})
34
}
35
36
-console.log(snapshots)
+console.log(Deno.inspect(snapshots, {iterableLimit: Infinity}))
37
38
39
// https://feedback.minecraft.net/hc/en-us/sections/360002267532-Snapshot-Information-and-Changelogs
0 commit comments