You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0abacb8
Browse filesBrowse the repository at this point in the historyBrowse files
fix(events): populate Discord event Location; use meetup URL as description
Meetup's iCal feed ships no LOCATION field, so the venue is scraped
from the event page's JSON-LD. The scrape never worked: the regex
required a bare <script type="application/ld+json"> tag, but Meetup
emits data-next-head="" alongside it, so every match failed and
events fell back to the "See event details" placeholder.
- Match ld+json script tags with any attributes/quote style
- Extract _parse_jsonld_location: handles Place/PostalAddress, an
address given as a plain string, a list of locations, and
VirtualLocation (URL-only, which strip_urls would blank and
Discord rejects)
- Sync location/description on existing events, not just the title.
The match branch returned early whenever the name was unchanged,
so events created before this fix stayed on the placeholder
forever. Location is only written when a scrape succeeded, so a
transient failure can't clobber a good venue.
- Event description is now the bare meetup URL (bare, not masked
markdown, which scheduled-event descriptions don't render)
Verified against the live BurbSec feed: all 8 upcoming events
resolve a real venue, longest 66 chars.
0 commit comments