mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[GH-ISSUE #660] WhoScored issue #131
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#131
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 @Messe57 on GitHub (Aug 3, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/660
Since I found out about this project few months ago, scraping data has always been very easy, so I am really thankful to who is currently working on it. However, now I'm stuck with a problem that I am not able to solve, but I hope that someone can help me deal with it.
I admit that I am a beginner in coding, so it might be very easy to solve, but not with my knowledge.
This is my code:
This is the key error that I am receiving:
Thank you in advance.
@probberechts commented on GitHub (Aug 4, 2024):
Could you try with caching disabled everywhere?
I am also intrigued why you added
Do you experience any problems without doing this?
@Messe57 commented on GitHub (Aug 4, 2024):
I tried what you suggested, but still not working unfortunately.
I added
ws._driver.get("https://www.whoscored.com/")ws._driver.execute_script("location = 'https://whoscored.com/'")because the driver was opening with my native language and so it was an issue. I found out this solution in the issues observed before and it works perfectly until now.
@LoGreHub commented on GitHub (Aug 4, 2024):
Hi all,
same kind of issue here.
Code:
and traceback:
@LoGreHub commented on GitHub (Aug 4, 2024):
Read other issues at last (apologize for not doing that before), my above issue is likely related to being forced to load the italian version of the website.
@Messe57 commented on GitHub (Aug 13, 2024):
Updating my issue... I think it might be a problem with read_schedule function because when I ask for the available leagues the code run perfectly. Furthermore, the chromedriver is able to open the website without any issues. Do you suggest any additional changes to do?
@AbinThomas10 commented on GitHub (Aug 21, 2024):
same issue with me too but only for scraping Italian SerieA league
@probberechts commented on GitHub (Aug 23, 2024):
The following works fine for me:
I am closing this since I don't have sufficient information to debug your issue. Feel free to reopen if you can pinpoint the cause.
@Messe57 commented on GitHub (Sep 25, 2024):
Here to announce that I was able to find the issue... in my tiers leagues name were written in my native language, that's why the scraper was not able to find them. Now, I need to use a VPN to set the IP in another country. I don't understand how this could have happen because previuosly the scraper worked fine, maybe it happen updating chrome or soccerdata. Anyway, very happy to have found how to solve this issue and I hope this help someone else.