fix schedule
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ func parse() []Lesson {
|
||||
k := 0
|
||||
var lessons []Lesson
|
||||
var l Lesson
|
||||
doc.Find(".schedule tr>td, .schedule tr>td[width=\"100%\"]").Each(func(i int, s *goquery.Selection) {
|
||||
doc.Find(".schedule_table tr td").Each(func(i int, s *goquery.Selection) {
|
||||
text := strings.TrimSpace(s.Text())
|
||||
if strings.Contains(text, "Понедельник") ||
|
||||
strings.Contains(text, "Вторник") ||
|
||||
|
||||
Reference in New Issue
Block a user