Skip to content

Instantly share code, notes, and snippets.

@Ttl
Ttl / download_tcec_evals.py
Last active Apr 10, 2020
lc0 q to cp eval fitting
View download_tcec_evals.py
#!/usr/bin/python3
from os import path
import urllib.request
base_url = 'https://www.tcec-chess.com/json/TCEC_Season_17_-_Superfinal_{}.pgjson'
games = list(range(1, 17+1))
for game in games:
url = base_url.format(game)
basename = url.split('/')[-1]