change names
This commit is contained in:
parent
046741181b
commit
69715516d6
@ -36,7 +36,7 @@ class MainController {
|
|||||||
if (names.includes(name)) {
|
if (names.includes(name)) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
names.push(name);
|
names.push(name.split('.').join('_'));
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ class MainController {
|
|||||||
// .each(function () {
|
// .each(function () {
|
||||||
// const time = $(this).prop('innerHTML').split(' ')[1];
|
// const time = $(this).prop('innerHTML').split(' ')[1];
|
||||||
|
|
||||||
// // times.push(time);
|
// times.push(time);
|
||||||
// console.log(time);
|
// console.log(time);
|
||||||
// });
|
// });
|
||||||
|
|
||||||
@ -111,7 +111,11 @@ class MainController {
|
|||||||
// console.log(nowDay.getHours() + ':' + nowDay.getMinutes());
|
// console.log(nowDay.getHours() + ':' + nowDay.getMinutes());
|
||||||
// console.log(objTimesNames);
|
// console.log(objTimesNames);
|
||||||
|
|
||||||
const date = $('.class-title-list-link', html).first().find('a:last-child').text().split(' ')[1];
|
const date = $('.class-title-list-link', html)
|
||||||
|
.first()
|
||||||
|
.find('a:last-child')
|
||||||
|
.text()
|
||||||
|
.split(' ')[1];
|
||||||
|
|
||||||
res.status(200).json({
|
res.status(200).json({
|
||||||
countNumbers: numbers.length,
|
countNumbers: numbers.length,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user