fix(rp5): fix date row detection

This commit is contained in:
2026-09-14 21:47:46 +03:00
parent d9016a0cb0
commit b556f2f948
+1 -1
View File
@@ -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