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 ae6844b commit 5fd3309Copy full SHA for 5fd3309
src/action.ts
@@ -15,7 +15,7 @@ const document = new dom.DOMParser().parseFromString(
15
'text/html'
16
)
17
18
-console.log('last_page:', new URL(document.body.querySelector('.section-container .section-content .pagination .pagination-last a')?.attributes.getNamedItem('href')?.value!).searchParams.get('page'))
+console.log('last_page:', new URL(document.body.querySelector('.section-container .section-content .pagination .pagination-last a')?.attributes.getNamedItem('href')?.value!, 'https://feedback.minecraft.net').searchParams.get('page'))
19
console.log('items:', document.body.querySelectorAll('.section-container .section-content .article-list .article-list-item a'))
20
21
// https://feedback.minecraft.net/hc/en-us/sections/360002267532-Snapshot-Information-and-Changelogs
0 commit comments