UNPKG

ag-webscrape

Version:

TypeScript web scraper with Playwright fallback for anti-scraping protection

11 lines 396 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const WebScraper_1 = require("./WebScraper"); async function main() { const ws = new WebScraper_1.WebScraper(); const result = await ws.scrape('https://bothsidesofthetable.com'); console.log('result=', JSON.stringify(result, null, 2)); await ws.dispose(); } void main(); //# sourceMappingURL=test.js.map