Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maschad/covid-scraper

A nodejs scraper for COVID-19 related info
https://github.com/maschad/covid-scraper

Last synced: 13 days ago
JSON representation

A nodejs scraper for COVID-19 related info

Awesome Lists containing this project

README

        

# COVID-19 Scraper

## Description

A `Node.js` scraper using `cheerio` to scrape [wikipedia](https://en.wikipedia.org/wiki/Travel_restrictions_related_to_the_2019%E2%80%9320_coronavirus_pandemic) for latest **COVID-19** info.

### [A demo here](https://covid19-scraper.herokuapp.com/)

## Instructions

If you have [Docker](https://www.docker.com/) then:

- Build an image
```
docker build -t /scraper
```
- Run that image

```
docker run -p 49160:3000 -d /scraper
```

- Get the info :)

```
curl -i localhost:49160
```

### NPM/Yarn

```
cd scraper && npm i / yarn
```