diff --git a/src/extractor/generic/content/utils/constants.js b/src/extractor/generic/content/utils/constants.js index 0628982e..888357cf 100644 --- a/src/extractor/generic/content/utils/constants.js +++ b/src/extractor/generic/content/utils/constants.js @@ -37,6 +37,7 @@ export const UNLIKELY_CANDIDATES_BLACKLIST = [ 'remove', 'remark', 'rss', + 'share', 'shoutbox', 'sidebar', 'sociable', diff --git a/src/resource/utils/constants.js b/src/resource/utils/constants.js index 2afe20e0..39c379da 100644 --- a/src/resource/utils/constants.js +++ b/src/resource/utils/constants.js @@ -1,5 +1,5 @@ export const REQUEST_HEADERS = { - 'User-Agent': 'Readability - http://readability.com/about/' + "User-Agent": "Readability - http://readability.com/about/", } // The number of milliseconds to attempt to fetch a resource before timing out.