@znode/browser
v0.0.11
Published
Create Browser with Puppeteer for Crawl
Downloads
11
Maintainers
Readme
@zodash/browser
TODO: description
Usage
import Browser from '@zodash/browser';
const browser = new Browser();
const page = await browser.go(
'http://www.yohogirls.com/news/index-8349-0-0.html',
);
const image = await browser.screenshot(
'http://www.yohogirls.com/news/index-8349-0-0.html',
);
const pdf = await browser.pdf(
'http://www.yohogirls.com/news/index-8349-0-0.html',
);
const html = await browser.html(
'http://www.yohogirls.com/news/index-8349-0-0.html',
);