Skip to content

Commit

Permalink
Merge pull request #22 from brianvans/fix-knockout-bug
Browse files Browse the repository at this point in the history
Fix bug in knockout parser
  • Loading branch information
davishmcclurg authored Sep 10, 2024
2 parents 9a8b982 + 0ed6356 commit 8794771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def truncate(text, len = 1000)
date.strftime('%m-%Y')
end.flat_map do |month|
URI.open(URI.join(link, "/api/open/GetItemsByMonth?month=#{month}&collectionId=668dcda020574371451c8e12")) do |json|
JSON.load_file(json).map do |item|
JSON.parse(json.read).map do |item|
title = item['title']
next if title =~ /(karaoke|bingo|trivia)/i

Expand Down

0 comments on commit 8794771

Please sign in to comment.