Skip to content

Commit

Permalink
log better
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed Jan 10, 2025
1 parent 786fcbe commit 69fd292
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/bngbirds.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ def parse_bng_bird_events(soup):
# Write output JSON file
with open("out/bngbirds.json", "w", encoding="utf-8") as f:
json.dump(events, f, indent=2, ensure_ascii=False)
print(f"[BNGBIRDS] {len(events)} events")
1 change: 1 addition & 0 deletions src/lavonne.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,4 @@ def parse_lavonne_events(soup):
# Write output JSON file
with open("out/lavonne.json", "w", encoding="utf-8") as f:
json.dump(events, f, indent=2, ensure_ascii=False)
print(f"LAVONNE] {len(events)} events")
2 changes: 0 additions & 2 deletions src/paintbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ def fetch_timings(date_str: str):

def make_event(product, sp: Shopify):
start_date, end_date = fetch_timings(product.title)
# URL may sometimes contain emojis, make sure they are encoded as EMOJI
print(product.url)

return {
"name": product.title,
Expand Down

0 comments on commit 69fd292

Please sign in to comment.