Skip to content

Commit 2743161

Browse files
committed
Update action.ts
1 parent 929abac commit 2743161

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
@@ -29,7 +29,7 @@ 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.replace(/Minecraft:? Java( Edition)? -?/, '')})
32+
snapshots.push({url: element.getAttribute('href')!, title: element.innerHTML.replace(/Minecraft:? Java( Edition)?( -)?( Snapshot )?/, '')})
3333
})
3434
}
3535

0 commit comments

Comments
 (0)