Describe the bug
When I am using from espncricinfo.player import Player and trying to execute p = Player('277916') its giving me an error.
To Reproduce
Gives me following error:
>>> p = Player('277916')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Singh\Desktop\Alexa Automation\.venv\Lib\site-packages\espncricinfo\player.py", line 14, in __init__
self.player_information = self._parse_player_information()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Singh\Desktop\Alexa Automation\.venv\Lib\site-packages\espncricinfo\player.py", line 60, in _parse_player_information
return self.parsed_html.find_all('p', class_='ciPlayerinformationtxt')
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'find_all'
Expected behavior
It should give player information.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug When I am using from
espncricinfo.player import Player
and trying to executep = Player('277916')
its giving me an error.To Reproduce Gives me following error:
Expected behavior It should give player information.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.