# scraper-class

> This exports a page controller that can be used to control a chrome page instance created by puppeteer.

Latest version **1.3.1** (published 2018-08-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install scraper-class
pnpm add scraper-class
yarn add scraper-class
bun add scraper-class
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2018-08-16 |
| First published | 2018-06-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | entrptaher@gmail.com |
| Maintainers | entrptaher |

## Links

- npm: https://www.npmjs.com/package/scraper-class
- Repository: https://github.com/entrptaher/scraper-class
- Homepage: https://github.com/entrptaher/scraper-class#readme
- Issues: https://github.com/entrptaher/scraper-class/issues
- npm.io page: https://npm.io/package/scraper-class

## Dependencies (2)

- [puppeteer](https://npm.io/package/puppeteer.md) ^1.5.0
- [normalize-url](https://npm.io/package/normalize-url.md) ^3.0.1

## Recent versions

- 1.3.1 (latest) — 2018-08-16
- 1.3.0 — 2018-06-18
- 1.2.0 — 2018-06-12
- 1.1.0 — 2018-06-12

## README

This exports a page controller that can be used to control a chrome page instance created by puppeteer.

Example usage:

```js
const scraper = new Scraper({headless: false, url: 'example.com', proxy: '127.0.0.1:8888', cookies: 'somecookie=bar'});
await scraper.navigate('example.org');
await scraper.type(selector, value);
await scraper.click(selector, visible);
await scraper.select(selector, value);
await scraper.getText(selector);
await scraper.closeBrowser();
```

---
_Source: https://npm.io/package/scraper-class · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
