# scraper-request

> Makes a http request and stores metadata

Latest version **1.0.0** (published 2016-03-16) · ISC license · 0 weekly downloads

## Install

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

## 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.0.0 |
| Published | 2016-03-16 |
| First published | 2016-03-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Tom Chambrier |
| Maintainers | therewillbecode |
| Keywords | scrape, request |

## Links

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

## Dependencies (1)

- [request](https://npm.io/package/request.md) 2.69.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-03-16

## README

# scraper-request

only dependency is the request module

scrape class - methods and properties to scrape a single page


var scraper-class = require('scraper-request/src/listingClass.js')

** set url for the page we want to scrape the html body **
var url = 'http://www.google.com'

var location = 'uk'


var googleScrape = new scraper-class(url, location)

**make request**

googleScrape.makeRequest().then((result) => {

  **print html response**
    console.log(listingScrape.html)

  **print date + time of scrape **
    console.log(googlescrape.scrapedate)
})

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