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

https://github.com/website-scraper/endless-website

Fake website to test website-scraper module
https://github.com/website-scraper/endless-website

Last synced: 5 months ago
JSON representation

Fake website to test website-scraper module

Awesome Lists containing this project

README

          

## Description

Fake website to test [website-scraper](https://github.com/website-scraper/node-website-scraper) module.
Serves endless amount of html pages with configurable amount of unique images and links to other pages.
By default each page has 20 links and 100 images, amount of resources can be changed with `?a=N&img=M` query string params.

E.g. http://localhost:3000?a=100&img=500 serves (slowly) a website with 100 links and 500 images for each page.

## Requirements

* Node.js version >=20 (lower versions are not tested, but might work)

## Installation

```bash
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run build
$ npm run start:prod
```