diff --git a/latecomers/parse.py b/latecomers/parse.py index ab0ef84..a0b14af 100644 --- a/latecomers/parse.py +++ b/latecomers/parse.py @@ -197,6 +197,8 @@ def parse_fr24( """ This function parses the given FlightRadar24 data into a pandas DataFrame. """ + logger.debug("fr24 raw data: %s", data) + if not data: return None @@ -219,6 +221,7 @@ def parse_fr24( ts = flight["flight"]["time"]["real"]["arrival"] real_arrival = datetime.fromtimestamp(ts).strftime("%H:%M") results[code] = real_arrival + logger.debug(f"{code} -> {real_arrival}") except: # noqa: E722 continue