fix(route/theinitium): fix css selector (#18695)

This commit is contained in:
quiniapiezoelectricity
2025-03-25 18:27:14 +08:00
committed by GitHub
parent ee3e09ead1
commit c09c06804f
+1 -1
View File
@@ -118,7 +118,7 @@ async function fetchAppPage(url: URL) {
async function fetchWebPage(url: URL) {
const response = await got(url.href);
const $ = load(response.data);
const article = $('.wkwp-post-content');
const article = $('.entry-content');
article.find('.block-related-articles').remove();
article.find('figure.wp-block-pullquote').children().unwrap();
article.find('div.block-explanation-note').wrapInner('<blockquote></blockquote>');