Created
January 16, 2021 01:27
-
-
Save ASGdev/d2580b45849cb1ade0542ef7870a2b55 to your computer and use it in GitHub Desktop.
AT tracker scraper for .eu domains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs-extra') | |
const puppeteer = require('puppeteer') | |
async function run() { | |
const browser = await puppeteer.launch({headless: false}); | |
const page = await browser.newPage(); | |
page.on('console', msg => { | |
console.log("Message received") | |
fs.outputFile("./log.json", msg.text() + "\r\n", {'flag':'a'}, err => { | |
if(err){ | |
console.log(err) | |
} | |
}); | |
}); | |
await page.goto('https://tracker.archiveteam.org/domains/'); | |
} | |
console.log("start") | |
run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment