UNPKG

source-scraper-puppeteer-runner

Version:

Provides the PuppeteerRunner class for scrapping.

10 lines (7 loc) 295 B
import { SimplePuppeteerScraper } from '../lib'; import { ScraperTester } from 'source-scraper-test-utils'; const urls = ['https://tekeye.uk/html/html5-video-test-page']; ScraperTester.fromStatic(SimplePuppeteerScraper) .testUrlDetection(urls) .testScraping(urls) .run();