Skip to content

Commit

Permalink
Temporary change to API URL because of bug in Lichess API: see liches…
Browse files Browse the repository at this point in the history
  • Loading branch information
khgiddon committed Aug 12, 2024
1 parent 2d183ef commit 69467a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def get_user_data(username,timestamp_to_use,token,streamed_response=[]):
# Second request is to pull the actual games
chunks_expected = min(estimated_games,max_games)
chunks = 0
url = f"https://lichess.org/api/games/user/{username}?pgnInJson=true&opening=true&max={max_games}&moves=false&perfType=bullet,blitz,rapid,classical&since={timestamp_to_use}"
url = f"https://lichess.org/api/games/user/{username}?pgnInJson=true&opening=true&max={max_games}&moves=false&since={timestamp_to_use}"
print(url, flush=True)

try:
Expand Down

0 comments on commit 69467a0

Please sign in to comment.