UNPKG

source-scraper-dom-runner

Version:

Provides the DomRunner class for scrapping.

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