diff --git a/index.rb b/index.rb index b31a7e63b..54f22c785 100644 --- a/index.rb +++ b/index.rb @@ -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