<commit_before>require 'rubygems'
require 'mechanize'

   SOURCE_URL = 'http://espnfc.com/league/_/id/eng.1/barclays-premier-league?cc=5901'

module FcStats
  class Scores

	def self.get_club club
	  begin
		club_page = get_page club
	  rescue
	  	raise "Club not found"
	  end<commit_msg>Added more descriptive exception message<commit_after>require 'rubygems'
require 'mechanize'

   SOURCE_URL = 'http://espnfc.com/league/_/id/eng.1/barclays-premier-league?cc=5901'

module FcStats
  class Scores

	def self.get_club club
	  begin
		club_page = get_page club
	  rescue
	  	raise "Club [#{club}] not found"
	  end
{'fraction_non_alphanumeric': 0.0991869918699187, 'fraction_numerical': 0.016260162601626018, 'mean_word_length': 3.888888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5358359', 'n_tokens_mistral': 255, 'n_tokens_neox': 222, 'n_words': 50}