Skip to content

Commit

Permalink
VI: Events: Skip holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
showerst committed Nov 6, 2023
1 parent d0b58f3 commit 4027558
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scrapers/vi/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ def scrape(self):
start = row["startDate"]
description = row["description"]

if "reserved" in title.lower():
self.info(f"Skipping {start} {title}, reserved.")
if "reserved" in title.lower() or "holiday" in title.lower():
self.info(f"Skipping {start} {title}, holiday or reserved.")
continue

# some weird placeholders for location in the data
if len(location) < 10:
Expand Down

0 comments on commit 4027558

Please sign in to comment.