UEWBot / dipvis

Django-based visualiser for tournaments for the boardgame Diplomacy
GNU General Public License v3.0
7 stars 5 forks source link

Support reading from backstabbr sandboxes #206

Closed UEWBot closed 2 years ago

UEWBot commented 2 years ago

Currently, we support reading SC counts from backstabbr games by entering the backstabbr URL under the game's "Notes". It would be useful to also support reading from (public) sandboxes in the same way.

As things stand, we parse the game number from the URL, but sandbox URLs have a different format (e.g. https://www.backstabbr.com/sandbox/R2-FB-Game/5766492401172480).

Probably just need to move the parsing into backstabbr.Game.init().