Skip to content

Commit c357893

Browse files
committed
Update action.ts
1 parent dcce0be commit c357893

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
@@ -21,7 +21,7 @@ const pages = parseInt(new URL(document.body.querySelector('.section-container .
2121
console.log('last_page:', pages)
2222

2323
for (let page = pages; page > 2; page--) {
24-
const subPage = parser.parseFromString(await fetch(`https://feedback.minecraft.net/hc/en-us/sections/360002267532-Snapshot-Information-and-Changelogs?page=${page}`)
24+
const subPage = parser.parseFromString(await fetch(`https://feedback.minecraft.net/hc/en-us/sections/360002267532-Snapshot-Information-and-Changelogs?page=${page}`, {redirect: 'follow'})
2525
.then(response => response.text()),
2626
'text/html'
2727
)

0 commit comments

Comments
 (0)