gamelist-scraper

command module
v0.0.0-...-75fe9b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 9 Imported by: 0

README

MyGameList site scraper

Site scraper written in Go

MyGameList family

Try it yourself

mygamelist.tk is available to try how MyGameList works. No legit email address is required, but all data is subject to change or complete removal.

Running in development mode

Run go get and go run main.go and the scraper will be listening to localhost:8888

You can set amount of pages to scrape with PAGES_TO_SCRAPE environment variable.

Docker building an running

Build
# docker build -t scraper .
Common run command
# docker run \
    --network gamelist --network-alias scraper \
    -e ADDRESS=0.0.0.0 \
    gamelist-scraper

This command will set the scraper's address to scraper:8888 inside gamelist docker network and start to listen to it.

Then all that's left to do is to build and run the backend's docker image as follows in its readme.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL