Skip to content

Commit

Permalink
Updated sofascore datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
This-Is-Ko committed Oct 12, 2024
1 parent 87aba98 commit c52dad5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

@Getter
@Slf4j
@Component
@Qualifier("sofascore")
public class SofascoreDataSource implements DataSourceParser {

@Getter
private final DataSourceSiteName dataSourceSiteName = DataSourceSiteName.SOFASCORE;

private final String BASEURL = "https://api.sofascore.com";
private final String API_MATCH_BASE_URL = "/api/v1/event";
private static final String BASEURL = "https://api.sofascore.com";
private static final String API_MATCH_BASE_URL = "/api/v1/event";

@Override
public PlayerMatchPerformanceStats parsePlayerMatchData(Player player, Document document) {
Expand Down

0 comments on commit c52dad5

Please sign in to comment.