Skip to content

Commit

Permalink
fix: 放送休止と同じ判定によって処理がスキップされないように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-yryr committed Dec 23, 2023
1 parent 3079e01 commit 6b99ee1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/App/Services/DailyProgramGuideParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ struct DailyProgramGuideParser: ProgramGuideParsing {
// プログラムを生成
return html.xpath("//article")
.filter { $0["class"]?.contains("dailyProgram-itemBox") ?? false }
.filter { $0["class"]?.contains("ag") ?? false } // 放送休止を除く
.compactMap { [programDateStr] in self.parseProgram(element: $0, date: programDateStr) }
}

Expand Down

0 comments on commit 6b99ee1

Please sign in to comment.