From b556f2f948b8a935a403706c6bccf0217a3dfafe Mon Sep 17 00:00:00 2001 From: shmyga Date: Mon, 14 Sep 2026 21:47:46 +0300 Subject: [PATCH] fix(rp5): fix date row detection --- gallery/painting/rp5/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery/painting/rp5/parser.py b/gallery/painting/rp5/parser.py index c53383e..8546330 100644 --- a/gallery/painting/rp5/parser.py +++ b/gallery/painting/rp5/parser.py @@ -54,7 +54,7 @@ class RowType(Enum): def _iter_table_rows(table: Tag) -> Iterable[tuple[RowType, Tag]]: for row in table.select("tr"): title = row.select_one("td").text.strip().lower() - if "сегодня" in title: + if "сегодня" in title or "завтра" in title: yield RowType.DATE, row elif "местное время" in title: yield RowType.TIME, row