e
This commit is contained in:
parent
9ed2d0a778
commit
00000d98ae
2 changed files with 8 additions and 2 deletions
|
|
@ -89,7 +89,9 @@ async def refresh_html_cache(client: httpx.AsyncClient, url: str) -> dict[str, s
|
|||
if not (date := row.css_first("div.date")):
|
||||
continue
|
||||
|
||||
event_dt = Time.from_str(date.text(strip=True))
|
||||
event_date = date.text(strip=True).replace("\t", " ")
|
||||
|
||||
event_dt = Time.from_str(event_date)
|
||||
|
||||
if event_dt.date() != now.date():
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue