From 5c96c0bd151624235da2318060aedcf12e524b85 Mon Sep 17 00:00:00 2001 From: josc146 Date: Mon, 8 May 2023 19:40:15 +0800 Subject: [PATCH] feat: getCoreContent adaptation for Wikipedia (#298) --- src/utils/get-core-content-text.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/get-core-content-text.mjs b/src/utils/get-core-content-text.mjs index 95cdea6..c5658cd 100644 --- a/src/utils/get-core-content-text.mjs +++ b/src/utils/get-core-content-text.mjs @@ -10,6 +10,7 @@ const adapters = { google: ['#search'], csdn: ['#content_views'], bing: ['#b_results'], + wikipedia: ['#mw-content-text'], } function findLargestElement(e) {