[boardgames] Fix getting BGG id
This commit is contained in:
@ -88,7 +88,7 @@ fetching and simple saving.
|
|||||||
*** Metadata sources
|
*** Metadata sources
|
||||||
**** Scraper
|
**** Scraper
|
||||||
|
|
||||||
* Backlog [0/26] :vrobbler:project:personal:
|
* Backlog [2/26] :vrobbler:project:personal:
|
||||||
** TODO [#C] After transition to linux add curl_cffi as webpage scrapper again :webpages:metadata:
|
** TODO [#C] After transition to linux add curl_cffi as webpage scrapper again :webpages:metadata:
|
||||||
** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :bug:music:scrobbles:
|
** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :bug:music:scrobbles:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
@ -619,7 +619,7 @@ The Edit log form should have from top to bottom:
|
|||||||
- Expansion ids (which should a multi-select widget of expansions for this game)
|
- Expansion ids (which should a multi-select widget of expansions for this game)
|
||||||
- Location (which should be a drop down of BoardGameLocations for this user)
|
- Location (which should be a drop down of BoardGameLocations for this user)
|
||||||
|
|
||||||
** TODO Fix bug in fetching expansions for board games :boardgames:
|
** DONE Fix bug in fetching expansions for board games :boardgames:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:ID: 17995312-e76e-4a50-b591-0eab78cb59ab
|
:ID: 17995312-e76e-4a50-b591-0eab78cb59ab
|
||||||
:END:
|
:END:
|
||||||
@ -642,7 +642,7 @@ The Edit log form should have from top to bottom:
|
|||||||
boardgamegeek.exceptions.BGGApiError: invalid data for game id: 242117
|
boardgamegeek.exceptions.BGGApiError: invalid data for game id: 242117
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** TODO Board games should have genres extracted from family data :boardgames:metadata:
|
** DONE Board games should have genres extracted from family data :boardgames:metadata:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:ID: 7214b270-dccc-4b98-ac58-ff4f76c8cda9
|
:ID: 7214b270-dccc-4b98-ac58-ff4f76c8cda9
|
||||||
:END:
|
:END:
|
||||||
|
|||||||
@ -442,8 +442,8 @@ class BoardGame(ScrobblableMixin):
|
|||||||
game.publisher = publisher
|
game.publisher = publisher
|
||||||
|
|
||||||
skip_expansions = (
|
skip_expansions = (
|
||||||
game.bggeek_id
|
game.bggeek_id is not None
|
||||||
and game.bggeek_id.isdigit()
|
and str(game.bggeek_id).isdigit()
|
||||||
and int(game.bggeek_id) in settings.SKIP_AUTO_EXPANSION_DOWNLOAD
|
and int(game.bggeek_id) in settings.SKIP_AUTO_EXPANSION_DOWNLOAD
|
||||||
) or any(
|
) or any(
|
||||||
c == "Collectible Card Games" for c in categories
|
c == "Collectible Card Games" for c in categories
|
||||||
|
|||||||
Reference in New Issue
Block a user