diff --git a/packages/metascraper-readability/src/index.js b/packages/metascraper-readability/src/index.js index 4f82e09cb..1c39083c0 100644 --- a/packages/metascraper-readability/src/index.js +++ b/packages/metascraper-readability/src/index.js @@ -17,7 +17,7 @@ const readability = memoizeOne((url, html) => { const dom = new JSDOM(html, { url, virtualConsole: new VirtualConsole() }) const reader = new Readability(dom.window.document) return parseReader(reader) -}) +}, memoizeOne.EqualityFirstArgument) const getReadbility = composeRule(($, url) => readability(url, $.html()))