Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,8 +37,10 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 37 |
def get_all_matches_for_a_date(date: str) -> str:
|
| 38 |
"""Fetches all matches for the specified date.
|
| 39 |
|
|
|
|
|
|
|
| 40 |
Args:
|
| 41 |
-
date (str):
|
| 42 |
|
| 43 |
Returns:
|
| 44 |
str: Match details in plain text format or an error message.
|
|
|
|
| 37 |
def get_all_matches_for_a_date(date: str) -> str:
|
| 38 |
"""Fetches all matches for the specified date.
|
| 39 |
|
| 40 |
+
This function scrapes match details for a given date from the OneFootball website.
|
| 41 |
+
|
| 42 |
Args:
|
| 43 |
+
date (str): The date for which match details should be fetched (e.g., '2025-02-25').
|
| 44 |
|
| 45 |
Returns:
|
| 46 |
str: Match details in plain text format or an error message.
|