diff --git a/lib/routes/miyuki/news.ts b/lib/routes/miyuki/news.ts
index 43a933a74..d2432d3a1 100644
--- a/lib/routes/miyuki/news.ts
+++ b/lib/routes/miyuki/news.ts
@@ -8,13 +8,7 @@ import timezone from '@/utils/timezone';
const ORIGIN = 'https://www.miyuki.jp';
const NEWS_LINK = `${ORIGIN}/s/y10/news/list`;
-const DETAIL_HEADER_SELECTOR = [
- '.pc__news_detail__title',
- '.pc__news_detail__title__japanese',
- '.news_detail__date',
- '.news_detail__title',
- '.news_detail__ganre',
-].join(', ');
+const DETAIL_HEADER_SELECTOR = ['.pc__news_detail__title', '.pc__news_detail__title__japanese', '.news_detail__date', '.news_detail__title', '.news_detail__ganre'].join(', ');
export const route: Route = {
path: '/news',
@@ -82,7 +76,12 @@ async function getDescription(link: string) {
}
function hasMeaningfulHtml(html?: string | null) {
- return Boolean(html?.replaceAll(/
/g, '').replaceAll(' ', '').trim());
+ return Boolean(
+ html
+ ?.replaceAll(/
/g, '')
+ .replaceAll(' ', '')
+ .trim()
+ );
}
function normalizePhotoLists($, content) {