antibotbrowser 1.0.2 → 1.0.3

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/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,7 +24,7 @@ const puppeteer = require('puppeteer');
24
24
 
25
25
  const antibrowser = await antibotbrowser.startbrowser();
26
26
 
27
- const browser = await puppeteer.connect({browserWSEndpoint: antibotbrowser.websokcet});
27
+ const browser = await puppeteer.connect({browserWSEndpoint: antibrowser.websokcet});
28
28
 
29
29
  // Normal use from now on
30
30
  const page = await browser.newPage();
@@ -59,7 +59,7 @@ const puppeteer = require('puppeteer');
59
59
 
60
60
  const antibrowser = await antibotbrowser.startbrowser(); // We start the browser with default settings. Port: 9222 Url: google.com
61
61
 
62
- const browser = await puppeteer.connect({browserWSEndpoint: antibotbrowser.websokcet}); // We connect the launched browser to puppeteer. With the variable we created above, it gives the web socket url to puppetter with antibotbrowser.websocket .
62
+ const browser = await puppeteer.connect({browserWSEndpoint: antibrowser.websokcet}); // We connect the launched browser to puppeteer. With the variable we created above, it gives the web socket url to puppetter with antibotbrowser.websocket .
63
63
 
64
64
  // Normal use from now on
65
65
  const page = await browser.newPage();
@@ -79,9 +79,9 @@ const puppeteer = require('puppeteer');
79
79
  const antibrowser = await antibotbrowser.startbrowser(9222, "https://google.com"); // We start the browser | Port: 9222 Url: google.com
80
80
  const antibrowser2 = await antibotbrowser.startbrowser(9223, "https://github.com"); // 2. We create a browser | Port: 9223 Url: google.com
81
81
 
82
- const browser = await puppeteer.connect({browserWSEndpoint: antibotbrowser.websokcet}); // We connect the launched browser to puppeteer. With the variable we created above, it gives the web socket url to puppetter with antibotbrowser.websocket .
82
+ const browser = await puppeteer.connect({browserWSEndpoint: antibrowser.websokcet}); // We connect the launched browser to puppeteer. With the variable we created above, it gives the web socket url to puppetter with antibotbrowser.websocket .
83
83
 
84
- const browser2 = await puppeteer.connect({browserWSEndpoint: antibotbrowser2.websokcet}); // 2. We have connected a browser in this way
84
+ const browser2 = await puppeteer.connect({browserWSEndpoint: antibrowser2.websokcet}); // 2. We have connected a browser in this way
85
85
 
86
86
  const page2 = await browser2.newPage(); // 2. we opened a new tab in the browser
87
87
  // Normal use from now on
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antibotbrowser",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "readme": "README.md",
5
5
  "description": "Opening Chromium opens a real browser without bot validations in automated systems like Puppetter. To avoid problems in places like Cloudflare",
6
6
  "main": "index.js",