X-Git-Url: https://git.hedgecode.org/?p=chesshog-scanner.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fsettings%2Flichess.settings;fp=src%2Fmain%2Fresources%2Fsettings%2Flichess.settings;h=5a542fd3acdd967d050e3110abfe5315c2e5631a;hp=4f44ba17534f214687bb5a740dcad2605c99b224;hb=cbcefd2f85fa56b769bc211a134c7df1e97ef0be;hpb=8b5e21d880364363f4f8d51e126c1db91f8e2c4c diff --git a/src/main/resources/settings/lichess.settings b/src/main/resources/settings/lichess.settings index 4f44ba1..5a542fd 100644 --- a/src/main/resources/settings/lichess.settings +++ b/src/main/resources/settings/lichess.settings @@ -2,7 +2,11 @@ "tournamentUrl": "https://lichess.org/api/tournament/[tournamentId]/games", "tournamentIsMultiPage": false, "tournamentQueryParams": "?clocks=false&evals=false&opening=true", + "tournamentNameRegex": "\\[Event \"([^\"]+)\"\\]", "gameUrl": "https://lichess.org/[gameId]", "gamePgnUrl": "https://lichess.org/game/export/[gameId]", - "gameQueryParams": "?clocks=false&evals=false&literate=true" + "gameQueryParams": "?clocks=false&evals=false&literate=true", + "gameUrlRegex": "
([^<]+)
", + "gameJsonUrlRegex": "]+>.*=(\\{.*\"data\":\\{\"game\"[^<]+})", + "gameIdRegex" : "\\[Site \"https://lichess.org/([^\"]+)\"\\]" } \ No newline at end of file