codophobia / pycricbuzz

A Pythonic interface to cricbuzz, with options to get live scores, live commentary and scorecards.

Home Page:https://shivammitra.com/python/cricket-library-for-python/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fetching old match live commentary produces AttributeError

ndookie opened this issue · comments

live_score("20237") #ENGvsSA - CWC opener.
Traceback (most recent call last):
File "", line 1, in
File "", line 2, in live_score
File "/home/*****/.local/lib/python2.7/site-packages/pycricbuzz/cricbuzz.py", line 96, in livescore
batting = comm.get('bat_team')
AttributeError: 'NoneType' object has no attribute 'get'