mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[GH-ISSUE #708] Fotmob Team Match Stats SSL Error #153
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flynn-ryder44 on GitHub (Sep 17, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/708
Describe the bug
Having issues connecting to Fotmob read_team_match_stats(). Getting a Verification/Connection Error with SSL
I tried with cache turned on and off. Also tried running on a normal .py file as well as through Jupyter Notebook but got the same error. I also tried a few different stat types/leagues and received the same error.
Affected scrapers
This affects the following scrapers:
Code example
Error message
Additional context
The above error message is part of a much larger one since it makes 5 attempts to connect each time I run the script.
Also, I've already attempted doing some searching for like errors in other packages and tried to add a system variable with the certifi package as described here, but that did not change the error message either.
(I'm working on a PC if that matters since it seems SSL is very different on PC vs Mac)
I hugely appreciate any help that anyone can provide!!
Contributor Action Plan
@flynn-ryder44 commented on GitHub (Sep 20, 2024):
Update: for anyone who has this problem on PC, I fixed it by doing the equivalent of "Install Certificates.command" in Terminal on a mac...
Script is here
A couple specific issues I had with it:
Not sure of the exact solution for Mac specifically, but I came across this when a similar problem had been solved on a mac on this StackOverflow post so hopefully this can help folks on Mac as well!