[PR #541] [MERGED] [FotMob] Get correct team match stats using 'opponent_stats' parameter #641

Closed
opened 2026-03-02 15:58:53 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: fotmob-iss-528


📝 Commits (1)

  • e75273a fix[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=True parameter setting returned only the opponent stats, but incorrectly labelled as the requested team's stats. When opponent_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.

## 📋 Pull Request Information **Original PR:** https://github.com/probberechts/soccerdata/pull/541 **Author:** [@marcjbaron](https://github.com/marcjbaron) **Created:** 4/13/2024 **Status:** ✅ Merged **Merged:** 4/18/2024 **Merged by:** [@probberechts](https://github.com/probberechts) **Base:** `master` ← **Head:** `fotmob-iss-528` --- ### 📝 Commits (1) - [`e75273a`](https://github.com/probberechts/soccerdata/commit/e75273ac413b6d28ed81a553412c92f1cf340ec7) fix[FotMob]: get correct team match stats ### 📊 Changes **1 file changed** (+3 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `soccerdata/fotmob.py` (+3 -7) </details> ### 📄 Description This fixes the issue brought up in #528 where the `opponent_stats=True` parameter setting returned only the opponent stats, but incorrectly labelled as the requested team's stats. When `opponent_stats=True`, the correctly labelled match stats for both teams should now be returned. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 15:58:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#641
No description provided.