mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[PR #541] [MERGED] [FotMob] Get correct team match stats using 'opponent_stats' parameter #641
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#641
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?
📋 Pull Request Information
Original PR: https://github.com/probberechts/soccerdata/pull/541
Author: @marcjbaron
Created: 4/13/2024
Status: ✅ Merged
Merged: 4/18/2024
Merged by: @probberechts
Base:
master← Head:fotmob-iss-528📝 Commits (1)
e75273afix[FotMob]: get correct team match stats📊 Changes
1 file changed (+3 additions, -7 deletions)
View changed files
📝
soccerdata/fotmob.py(+3 -7)📄 Description
This fixes the issue brought up in #528 where the
opponent_stats=Trueparameter setting returned only the opponent stats, but incorrectly labelled as the requested team's stats. Whenopponent_stats=True, the correctly labelled match stats for both teams should now be returned.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.