diff --git a/lib/routes/msn/index.ts b/lib/routes/msn/index.ts
index 5ca954bbeb7fcc..aff863e1330fe9 100644
--- a/lib/routes/msn/index.ts
+++ b/lib/routes/msn/index.ts
@@ -5,6 +5,7 @@ import cache from '@/utils/cache';
import { load } from 'cheerio';
const apiKey = '0QfOX3Vn51YCzitbLaRkTTBadtWpgTN8NZLW0C1SEM';
+const fetchedArticleContentHtmlImgRegex = //;
export const route: Route = {
path: '/:market/:name/:id',
@@ -57,8 +58,8 @@ export const route: Route = {
const fetchedArticleContentHtml = (await cache.tryGet(articleId, async () => {
const articleData = await ofetch(`https://assets.msn.com/content/view/v2/Detail/${market}/${articleId}`);
return articleData.body;
- })) as string; // cache article content for 3 months
- articleContentHtml = fetchedArticleContentHtml;
+ })) as string;
+ articleContentHtml = fetchedArticleContentHtml.replace(fetchedArticleContentHtmlImgRegex, '');
}
return {