Skip to content

Commit 5fd3309

Browse files
committed
Update action.ts
1 parent ae6844b commit 5fd3309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const document = new dom.DOMParser().parseFromString(
1515
'text/html'
1616
)
1717

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'))
18+
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'))
1919
console.log('items:', document.body.querySelectorAll('.section-container .section-content .article-list .article-list-item a'))
2020

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

0 commit comments

Comments
 (0)