🎲 Board Game Scraper 🕸
Scraping data about board games from the web. View the data live at Recommend.Games! Install via
pip install board-game-scraper
Sources
- BoardGameGeek (
bgg) - DBpedia (
dbpedia) - Luding.org (
luding) - Spielen.de (
spielen) - Wikidata (
wikidata)
Run scrapers
Requires Python 3. Make sure Pipenv is installed and create the virtual environment:
python3 -m pip install --upgrade pipenv
pipenv install --dev
pipenv shell
Run a spider like so:
JOBDIR="jobs/${SPIDER}/$(date --utc +'%Y-%m-%dT%H-%M-%S')"
scrapy crawl "${SPIDER}" \
--output 'feeds/%(name)s/%(time)s/%(class)s.csv' \
--set "JOBDIR=${JOBDIR}"
where $SPIDER is one of the IDs above.
Run all the spiders with the run_scrapers.sh script. Get a
list of the running scrapers' PIDs with the processes.sh
script. You can close all the running scrapers via
./processes.sh stop
and resume them later.
Tests
You can run scrapy check to perform contract tests for all spiders, or
scrapy check $SPIDER to test one particular spider. If tests fails,
there most likely has been some change on the website and the spider needs
updating.
Board game datasets
If you are interested in using any of the datasets produced by this scraper, take a look at the BoardGameGeek guild. A subset of the data can also be found on Kaggle.
Links
- board-game-scraper: This repository
- Recommend.Games: board game recommender using the scraped data
- recommend-games-server: Server code for Recommend.Games
- board-game-recommender: Recommender code for Recommend.Games
Metadata
Release files for board-game-scraper 2.23.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| board_game_scraper-2.23.1.tar.gz | 58.2 kB | Without provenance | Details for board_game_scraper-2.23.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| board_game_scraper-2.23.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for board_game_scraper-2.23.1-py2.py3-none-any.whl |
Total release size: 129.9 kB
Release files / board_game_scraper-2.23.1.tar.gz
| Download URL | board_game_scraper-2.23.1.tar.gz |
|---|---|
| Size | 58.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bac3cca7aa6887ff9d2450e991f6d847a755a38df14d3075af522cb313bbb423
|
|
BLAKE2b-256 checksum How to use checksums |
ccf2da8e5aec00ebef76dfd2f6a625f52bd6aa46960a992418a875fa57cdd89e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|
Release files / board_game_scraper-2.23.1-py2.py3-none-any.whl
| Download URL | board_game_scraper-2.23.1-py2.py3-none-any.whl |
|---|---|
| Size | 71.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5d27bdc37721857a111bbe72b74721afd5a153fa5824753c386407b0c5629d7e
|
|
BLAKE2b-256 checksum How to use checksums |
d30158c7b6f42f4160d01220ef243b1b107aa8d865985d0620e6f43b3dbceed8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|
Security for board-game-scraper 2.23.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.