Skip to content

Instantly share code, notes, and snippets.

@ASGdev
Created January 16, 2021 01:27
Show Gist options
  • Save ASGdev/d2580b45849cb1ade0542ef7870a2b55 to your computer and use it in GitHub Desktop.
Save ASGdev/d2580b45849cb1ade0542ef7870a2b55 to your computer and use it in GitHub Desktop.
AT tracker scraper for .eu domains
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