From 4c843be377f49f31a5ff79dece85ad3096807d5b Mon Sep 17 00:00:00 2001 From: Austin Date: Wed, 2 Nov 2022 13:43:50 -0400 Subject: [PATCH] adjust postlight insights custom selectors (#707) --- src/extractors/custom/postlight.com/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/extractors/custom/postlight.com/index.js b/src/extractors/custom/postlight.com/index.js index df7145f6..250eb748 100644 --- a/src/extractors/custom/postlight.com/index.js +++ b/src/extractors/custom/postlight.com/index.js @@ -22,7 +22,7 @@ export const PostlightComExtractor = { }, content: { - selectors: ['article.body'], + selectors: ['main.post'], // Is there anything in the content you selected that needs transformed // before it's consumable content? E.g., unusual lazy loaded images @@ -31,6 +31,10 @@ export const PostlightComExtractor = { // Is there anything that is in the result that shouldn't be? // The clean selectors will remove anything that matches from // the result - clean: ['section.pl-post-link'], + clean: [ + 'section.pl-post-link', + 'aside', + 'section.insights_featured_case_studies', + ], }, };