fix name of station

This commit is contained in:
Hendrik Schutter 2024-01-11 18:48:33 +01:00
parent a8786e4018
commit 024555896b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def scrape_station(station_id):
+ soup.find("span", {"itemprop": 'http://schema.org/postalCode' }).text + "_"\
+ soup.find("span", {"itemprop": 'http://schema.org/addressCountry' }).text
station_metric_basename = station_metric_basename.replace(" ", "" ).replace(".", "" ).replace(",", "" )
station_metric_basename = station_metric_basename.replace(" ", "" ).replace(".", "" ).replace(",", "").replace("-", "")
station_metric_basename = unidecode.unidecode(station_metric_basename)