Open Ice3man543 opened 2 years ago
I had this implemented using a headless node instance called from Go:
node
const Wappalyzer = require('wappalyzer'); const urls = process.argv.slice(2); ;(async function() { const wappalyzer = await new Wappalyzer(); try { await wappalyzer.init(); const results = await Promise.all( urls.map(async (url) => ({ url, results: await wappalyzer.open(url, headers = { 'x-crawler': 'foo', }).analyze() })) ) console.log(JSON.stringify(results, null, 0)); } catch (error) { console.error(error); } await wappalyzer.destroy(); })()
I had this implemented using a headless
node
instance called from Go: