Debug
This commit is contained in:
parent
ba4063ad40
commit
5d6fa2c909
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ const getStationName = (start, callback) => {
|
||||||
callback(err);
|
callback(err);
|
||||||
} else {
|
} else {
|
||||||
const html = htmlparser(body);
|
const html = htmlparser(body);
|
||||||
const name = html?
|
const name = html
|
||||||
.querySelector("strong")?
|
.querySelector("strong")?
|
||||||
.toString()?
|
.toString()?
|
||||||
.replace(/[<>/]/g, "")?
|
.replace(/[<>/]/g, "")?
|
||||||
|
|
Loading…
Reference in a new issue