+ getSettings().getGameJsonUrlRegex()
+ );
+ }
+
+ @Override
+ public PGNGame scanUrl(String gameUrl) throws ChessHogScannerException {
+ return scanGameByRegex(
+ gameUrl,
+ getSettings().getGameJsonUrlRegex()
+ );
+ }
+
+ private PGNGame scanGameByRegex(String gameUrl, String regex) throws ChessHogScannerException {
+ String decodeGame = decodeUrlByRegex(
+ gameUrl,
+ regex