fix: fix pku bbs url error (#16753)

This commit is contained in:
william-swl
2024-09-14 21:17:58 +08:00
committed by GitHub
parent 6f6aa405df
commit 0605590d41
+1 -1
View File
@@ -44,7 +44,7 @@ async function handler() {
const listItems = $('#list-content .list-item')
.map(function () {
return {
url: new URL($(this).find('> a.link').attr('href'), r.url).href,
url: new URL($(this).find('> a.link').attr('href'), 'https://bbs.pku.edu.cn/v2').href,
title: $(this).find('.title').text(),
};
})