fix name of station
This commit is contained in:
parent
a8786e4018
commit
024555896b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue