Skip to content

Commit

Permalink
fix opensky aircraft db link
Browse files Browse the repository at this point in the history
  • Loading branch information
xoolive committed Nov 20, 2024
1 parent cf0cede commit 2da8c88
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/traffic/data/basic/aircraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@ def download_opensky(self) -> None: # coverage: ignore
"""

_log.warning("Downloading OpenSky aircraft database")
file_url = (
"https://opensky-network.org/datasets/metadata/aircraftDatabase.csv"
)
file_url = "https://s3.opensky-network.org/data-samples/metadata/aircraftDatabase.csv"
f = client.get(file_url)
total = int(f.headers["Content-Length"])
buffer = io.BytesIO()
Expand Down

0 comments on commit 2da8c88

Please sign in to comment.