unprint 0.18.3 → 0.18.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unprint",
3
- "version": "0.18.3",
3
+ "version": "0.18.4",
4
4
  "description": "Simplify common web scraping tasks while staying in control of the data.",
5
5
  "main": "src/app.js",
6
6
  "scripts": {},
package/src/app.js CHANGED
@@ -1154,7 +1154,7 @@ async function getBrowserInstance(scope, options, useProxy = false) {
1154
1154
  });
1155
1155
 
1156
1156
  const contextLauncher = browserLauncher.then((browser) => browser.newContext({
1157
- userAgent: 'unprint',
1157
+ userAgent: options.browserUserAgent || options.userAgent,
1158
1158
  ...options.context,
1159
1159
  ...(useProxy && {
1160
1160
  proxy: {