pirony / ffgscrap

Scrap le site de la FFG (Fédération Française de Golf) pour en extraire les résultats des compétitions de golf amateur (par clubs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrap FFG

Installation

With docker

git clone git@github.com:pirony/ffgscrap.git ffgscrap
cd ffgscrap
echo 'APP_PORT=3001' >.env # replace 3001 with the port of your choice
docker-compose up

Without docker

git clone git@github.com:pirony/ffgscrap.git directory
cd directory/app
yarn
yarn start

Usage

Visiting http://localhost:3001/scrap/${club_results_page_id} will return a node stream whose chunks are ndjson encoded competitions results.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Scrap le site de la FFG (Fédération Française de Golf) pour en extraire les résultats des compétitions de golf amateur (par clubs)


Languages

Language:JavaScript 61.6%Language:HTML 34.5%Language:Dockerfile 3.9%