feat: add support for alternative JSON keys in scraper and introduce report URL field to GameMatch model

This commit is contained in:
2026-04-23 10:34:50 +01:00
parent 965daae544
commit 379ee54580
3 changed files with 80 additions and 11 deletions

View File

@@ -37,6 +37,9 @@ public class GameMatch {
@PropertyName("campo")
private String stadium;
@PropertyName("report_url")
private String reportUrl;
public GameMatch() {
}
@@ -149,4 +152,14 @@ public class GameMatch {
public void setStadium(String stadium) {
this.stadium = stadium;
}
@PropertyName("report_url")
public String getReportUrl() {
return reportUrl;
}
@PropertyName("report_url")
public void setReportUrl(String reportUrl) {
this.reportUrl = reportUrl;
}
}