mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-16 17:48:49 +02:00
fix:#82 sport could be filtered by course sport
This commit is contained in:
@ -399,7 +399,7 @@ func fetchHtwkSportCourse(doc *goquery.Document) ([]model.SportEntry, error) {
|
||||
fullTitle := strings.TrimSpace(s.Find("h3").Text())
|
||||
titleParts := strings.Split(fullTitle, "-")
|
||||
if len(titleParts) > 0 {
|
||||
event.Title = "Sport: " + strings.TrimSpace(titleParts[0])
|
||||
event.Title = strings.TrimSpace(titleParts[0])
|
||||
}
|
||||
|
||||
if len(titleParts) > 2 {
|
||||
|
Reference in New Issue
Block a user