We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ac311 commit 2a16937Copy full SHA for 2a16937
packages/metascraper-readability/src/worker.js
@@ -13,7 +13,12 @@ const parseReader = reader => {
13
14
const getDocument = ({ url, html }) => {
15
const { Window } = require('happy-dom')
16
- const window = new Window({ url })
+ const window = new Window({
17
+ url,
18
+ settings: {
19
+ errorCapture: 'processLevel'
20
+ }
21
+ })
22
const document = window.document
23
document.write(html)
24
return document
0 commit comments