Permalink
Browse files

Cleared output from tv-channel names like RDS and Versus

  • Loading branch information...
1 parent 48abdb7 commit 498c76acc8b26df34134251494f10144ef498172 @sharipov-ru sharipov-ru committed Apr 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 espn_nhl_parser.rb
View
@@ -18,7 +18,7 @@
score << team_score.text
end
result = "#{score[1]}:#{score[0]}" # Away team - Home team
- game_info = gametable.at_css("ul.game-info li").text
+ game_info = gametable.at_css("ul.game-info li").text.scan(/Final|OT|SO/)
game = "#{home}-#{away} #{result} #{game_info}"
games << game
end # unless

0 comments on commit 498c76a

Please sign in to comment.