feat: add support for alternative JSON keys in scraper and introduce report URL field to GameMatch model
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user