Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/known-removable-phrases.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ const knownRemovablePhrases = [
"Film Screening and Q&A",
"screening and Q&A with Byline Times",
"Special Screening and Q&A",
"Documentary pre-screening and Q&A",
"Pre-screening and Q&A",
"Screening and Q&A",
": screening and discussion",
Expand Down
48 changes: 48 additions & 0 deletions common/tests/test-titles.json
Original file line number Diff line number Diff line change
Expand Up @@ -85746,5 +85746,53 @@
{
"input": "The Valley of the Bees",
"output": "valley of the bees"
},
{
"input": "gb André Rieu 2026 Christmas Concert Let it snow",
"output": "andre rieu 2026 christmas concert let it snow"
},
{
"input": "Vishwanath & Sons (Tamil)",
"output": "vishwanath sons"
},
{
"input": "DC",
"output": "dc"
},
{
"input": "Harry Potter and the Deathly Hallows: Part 2 (2011)",
"output": "harry potter the deathly hallows 2 (2011)"
},
{
"input": "Harry Potter and the Half-Blood Prince (2009)",
"output": "harry potter the halfblood prince (2009)"
},
{
"input": "Harry Potter and the Order of the Phoenix (2007)",
"output": "harry potter the order of the phoenix (2007)"
},
{
"input": "Prometheus Summer Party",
"output": "prometheus summer party"
},
{
"input": "VOICES UNHEARD: Documentary pre-screening and Q&A",
"output": "voices unheard"
},
{
"input": "I Saw the TV Glow + Surprise Short Films",
"output": "i saw the tv glow"
},
{
"input": "I Want Your Sex – Preview",
"output": "i want your sex"
},
{
"input": "Kino Industry Session: Supprting Emerging Talent with BIFA & Beyond",
"output": "kino industry session supprting emerging talent with bifa beyond"
},
{
"input": "EXCHANGE CINEMA CLUB - SHORT TERM 12",
"output": "short term 12"
}
]
7 changes: 4 additions & 3 deletions sources/eventbrite.co.uk/find-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const { createOverview, createPerformance } = require("../../common/utils");
const { parseDate } = require("./utils");
const attributes = require("./attributes");
const { venueMatchesCinema } = require("../../common/source-utils");
const { isNotNonFilmEvent } = require("../../common/is-non-film-event");

function getEventDescription(details) {
if (!details) return "";
Expand Down Expand Up @@ -143,9 +144,9 @@ async function findEvents(cinema) {
);
});

return filteredEvents.map((event) =>
convertEventbriteEvent(event, moviePages[event.url]),
);
return filteredEvents
.map((event) => convertEventbriteEvent(event, moviePages[event.url]))
.filter(isNotNonFilmEvent);
}

module.exports = findEvents;