Skip to content

black.san missing when exporting from chess.com #11

Description

@microprediction

To reproduce:

See colab notebook

or

!pip install getjson
!pip install chess.com
!pip install pgn-parser
a_player = 'PinIsMightier'
from chessdotcom import get_player_games_by_month
game = get_player_games_by_month(username=a_player, year=2021,month=1).json['games'][0]
from pgn_parser import parser, pgn
games = get_player_games_by_month(username=a_player, year=2021,month=1).json['games']
game = parser.parse(games[0]['pgn'],actions=pgn.Actions())
missing = [ game.move(j+1).black.san for j in range(5) ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions