Sign inSign up

ghocevar/result-scraper

By ghocevar

•Updated about 5 years ago

Http server that scrapes texts from Result's website.

Image
0

809

ghocevar/result-scraper repository overview

⁠result-scraper

Http server that scrapes texts from Result's website⁠.

⁠API Reference

⁠Get data
  GET /${param}
ParameterTypeDescription
paramintRequired. Value has to be between 1 and 4

Depending on a param value, server makes the same number of concurrent requests (e. g. 1 - all requests are consecutive, 4 - all requests are concurrent).

⁠Docker

Docker Hub link: https://hub.docker.com/repository/docker/ghocevar/result-scraper⁠

First you need to pull the image to your local environment.

  docker pull ghocevar/result-scraper:latest

Then you can run the server with this command (add flag -d to run it in detached mode).

  docker run -p 8080:8080 ghocevar/result-scraper

Request example with curl:

  curl http://localhost:8080/1

Tag summary

Content type

Image

Digest

Size

134.5 MB

Last updated

about 5 years ago

docker pull ghocevar/result-scraper