Board Game Geek scraper #1065
frank20a
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
|
Hello and thanks for this. I am unable to get it working with these settings. Would you mind taking a look and let me know if you can see what I need to change? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I am sharing with everyone my scraping setup for Board Game Geek. I have checked that scraping a text type into an item number field converts correctly into a number. To use it, search for a game on BGG and look at its URL to find the game code. For example Terraforming Mars is https://boardgamegeek.com/boardgame/167791/terraforming-mars and the code is 167791. Then input the following URL to the scraper https://boardgamegeek.com/xmlapi/boardgame/<game_code> (Click the link for example).
{ "name": "Board Game Geek", "namePath": "#\/\/name[contains(@primary,'true')]\/text()#", "imagePath": "#\/\/image\/text()#", "urlPattern": "https:\/\/boardgamegeek.com\/xmlapi\/boardgame\/", "dataPaths": [ { "name": "Released", "path": "#\/\/yearpublished\/text()#", "type": "text", "position": 1 }, { "name": "Players Minimum", "path": "#\/\/minplayers\/text()#", "type": "text", "position": 2 }, { "name": "Players Maximum", "path": "#\/\/maxplayers\/text()#", "type": "text", "position": 3 }, { "name": "Duration (mins)", "path": "#\/\/playingtime\/text()#", "type": "text", "position": 4 }, { "name": "Publisher", "path": "#(\/\/boardgamepublisher)[1]\/text()#", "type": "text", "position": 5 }, { "name": "Creator", "path": "#\/\/boardgamedesigner\/text()#", "type": "text", "position": 6 } ] }Beta Was this translation helpful? Give feedback.
All reactions