This commit is contained in:
Damien Broqua 2022-06-27 14:40:39 +02:00
parent ba4063ad40
commit 5d6fa2c909

View file

@ -140,7 +140,7 @@ const getStationName = (start, callback) => {
callback(err);
} else {
const html = htmlparser(body);
const name = html?
const name = html
.querySelector("strong")?
.toString()?
.replace(/[<>/]/g, "")?