Pringleman83 / SportsBook

A sports data scraping and analysis tool
GNU General Public License v3.0
82 stars 38 forks source link

Issue #90 fixed - Upgraded the is_number() function to accept spaces #91

Closed Pringleman83 closed 5 years ago

Pringleman83 commented 5 years ago

Fixed issue #90. The Bet Study scraper returning result scores as strings with spaces. This was due to the is_number() function in commonFunctions.py not recognising strings containing only spaces and numbers as numbers. This has now been fixed. Issue #84 showed its ugly face again. Finally fixed it 100%. The last fixed was only applied to one type of fixture that Soccer Stats provides. The scraper deals with two types and so some 'fixtures' with past dates were slipping through.