unprint 0.19.14 → 0.19.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/app.js +1 -1
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -1434,7 +1434,7 @@ async function browserRequest(url, customOptions = {}) {
|
|
|
1434
1434
|
|
|
1435
1435
|
const page = await client.context.newPage();
|
|
1436
1436
|
|
|
1437
|
-
await page.
|
|
1437
|
+
await page.setExtraHTTPHeaders(curateHeaders({
|
|
1438
1438
|
'user-agent': options.browserUserAgent || options.userAgent,
|
|
1439
1439
|
...options.headers,
|
|
1440
1440
|
cookie: getCookie(options),
|