Use puppeteer instead of puppeteer-core

main
Elbert Alias 3 years ago
parent 16e0644629
commit 8080a0c791

@ -5,6 +5,7 @@ const dns = require('dns').promises
const path = require('path')
const http = require('http')
const https = require('https')
const puppeteer = require('puppeteer')
const Wappalyzer = require('./wappalyzer')
const { setTechnologies, setCategories, analyze, analyzeManyToMany, resolve } =
@ -16,7 +17,6 @@ function next() {
const { CHROMIUM_BIN, CHROMIUM_DATA_DIR, CHROMIUM_WEBSOCKET } = process.env
let puppeteer
const chromiumArgs = [
'--no-sandbox',
'--no-zygote',
@ -31,12 +31,6 @@ if (os.arch() === 'arm64') {
chromiumArgs.push('--single-process')
}
if (CHROMIUM_BIN) {
puppeteer = require('puppeteer-core')
} else {
puppeteer = require('puppeteer')
}
const extensions = /^([^.]+$|\.(asp|aspx|cgi|htm|html|jsp|php)$)/
const categories = JSON.parse(

@ -13,7 +13,7 @@
"software"
],
"homepage": "https://www.wappalyzer.com/",
"version": "6.8.21",
"version": "6.9.0",
"author": "Wappalyzer",
"license": "MIT",
"repository": {

@ -4,7 +4,7 @@
"author": "Wappalyzer",
"homepage_url": "https://www.wappalyzer.com/",
"description": "Identify web technologies",
"version": "6.8.21",
"version": "6.9.0",
"default_locale": "en",
"manifest_version": 2,
"icons": {

@ -13,7 +13,7 @@
"software"
],
"homepage": "https://www.wappalyzer.com/",
"version": "6.8.21",
"version": "6.9.0",
"author": "Wappalyzer",
"license": "MIT",
"repository": {

Loading…
Cancel
Save