removed fields from exclude list of compareServers;

discardIndexResultsStartingWithHowManyRaces
overallLeaderboardName
hasOverallLeaderboard
This commit is contained in:
Axel Uhl committed 2024-06-29 15:20:40 +02:00
1 parent 0c1d711a11
commit fe05c3d3ff
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ else
fi
download_and_fix_boatclasses () {
wget --no-cache $WGET_QUIET -O - "$1/sailingserver/api/v1/leaderboardgroups/`echo $OLD_LB | sed -e 's/ /%20/g'`" | jq 'del(.leaderboards[].series[].fleets[].races[].raceViewerUrls)' | jq 'del(.displayName)' | grep -v "\"id\": \"[^\"]*\"" | grep -v "\"timepoint\": \"[^\"]*\"" | grep -v "\"discardIndexResultsStartingWithHowManyRaces\":" | grep -v "^ *[0-9][0-9]*,\?$" | grep -v "^ *\],\?$" | grep -v "\"overallLeaderboardName\":" | grep -v "\"hasOverallLeaderboard\":" | grep -v "\"timepoint-ms\":" >"$2" 2>$WGET_ERR
wget --no-cache $WGET_QUIET -O - "$1/sailingserver/api/v1/leaderboardgroups/`echo $OLD_LB | sed -e 's/ /%20/g'`" | jq 'del(.leaderboards[].series[].fleets[].races[].raceViewerUrls)' | jq 'del(.displayName)' | grep -v "\"id\": \"[^\"]*\"" | grep -v "\"timepoint\": \"[^\"]*\"" | grep -v "\"timepoint-ms\":" >"$2" 2>$WGET_ERR
#wget --no-cache $WGET_QUIET -O - "$1/sailingserver/api/v1/leaderboardgroups/`echo $OLD_LB | sed -e 's/ /%20/g'`" | python -m json.tool | grep -v "\"id\": \"[^\"]*\"" | grep -v "\"timepoint\": \"[^\"]*\"" >"$2" 2>$WGET_ERR
}