Skip to content

fix: handle Eventbrite recurring/series events with nextAvailableSession#226

Merged
chubes4 merged 1 commit intomainfrom
eventbrite-recurring
May 4, 2026
Merged

fix: handle Eventbrite recurring/series events with nextAvailableSession#226
chubes4 merged 1 commit intomainfrom
eventbrite-recurring

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 4, 2026

Summary

Eventbrite recurring events use a single URL with JSON-LD startDate set to the first occurrence (often past). The pipeline skips these as past events, missing all future occurrences.

This PR detects series events via the embedded isSeries flag and uses nextAvailableSession from the page's goodToKnow.highlights data as the effective start date.

What changed

  • Added extractSeriesMeta() to parse isSeries and nextAvailableSession from Eventbrite page HTML
  • parseDates() now overrides startDate/startTime with nextAvailableSession when the event is a series
  • No API calls required — data is in the server-rendered HTML

Tested against

  • Monday Night Funk Jam (weekly at Lo-Fi Brewing): startDate correctly resolved to 2026-05-04 (tomorrow)
  • Emerald Empire Band Free Showcase (bi-weekly): startDate correctly resolved to 2026-05-18

Both were previously returning past dates and being skipped by the pipeline.

Eventbrite recurring events use a single URL with JSON-LD startDate set
to the first occurrence (often past). The pipeline skips these as past
events, missing all future occurrences.

Detects series events via the embedded isSeries flag and uses
nextAvailableSession from the page's goodToKnow.highlights data as the
effective start date. This gives the correct upcoming occurrence date
without requiring API calls.

Tested against:
- Monday Night Funk Jam (weekly at Lo-Fi Brewing): startDate now 2026-05-04
- Emerald Empire Band Free Showcase (bi-weekly): startDate now 2026-05-18
@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 4, 2026

Homeboy Results — data-machine-events

Audit

audit — passed

  • intra-method-duplication — 2 finding(s)
  • dead_code — 1 finding(s)
  • test_coverage — 1 finding(s)
  • Total: 4 finding(s)

Deep dive: homeboy audit data-machine-events --changed-since 75e4fed

Tooling versions
  • Homeboy CLI: homeboy 0.155.1+a17d495
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: b2d11e9
  • Action: Extra-Chill/homeboy-action@v2

@chubes4 chubes4 merged commit a191627 into main May 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant