Skip to content

Commit

Permalink
WY: Events: Scrape back more months
Browse files Browse the repository at this point in the history
  • Loading branch information
showerst committed Nov 15, 2023
1 parent d232cda commit d297e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/wy/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def scrape(self):

# this month and the next 2 months
events = set()
for add in [0, 1, 2]:
for add in [-2, -1, 0, 1, 2]:
test_date = today + relativedelta.relativedelta(months=+add)
month_url = url.format(str(test_date.year), str(test_date.month).zfill(2))
page = self.get(month_url).json()
Expand Down

0 comments on commit d297e58

Please sign in to comment.