get-notion-contents
Advanced tools
Comparing version 2.1.4 to 2.2.0
@@ -29,3 +29,2 @@ "use strict"; | ||
const page = yield browser.newPage(); | ||
yield windowSet(page, 'option', option); | ||
yield page.goto(`https://www.notion.so/${pageId.split('-').join('')}`); | ||
@@ -36,3 +35,3 @@ const cookie = [{ name: 'token_v2', value: token }]; | ||
yield page.waitFor(20000); | ||
const data = yield page.evaluate(() => { | ||
const data = yield page.evaluate(option => { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z; | ||
@@ -152,3 +151,3 @@ const contentEditable$ = document.querySelectorAll('div[contenteditable=true]'); | ||
} | ||
}); | ||
}, option); | ||
yield browser.close(); | ||
@@ -155,0 +154,0 @@ if (data == null) { |
{ | ||
"name": "get-notion-contents", | ||
"version": "2.1.4", | ||
"version": "2.2.0", | ||
"description": "Get contents from notion", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21003
402