Skip to content

[BUG] Unable to retrieve player info #71

@sachit30

Description

@sachit30

I am get following error in getting player info

File "", line 1, in
p = Player('277916')
File "C:\Users\sachi\AppData\Local\Programs\Python\Python313\Lib\site-packages\espncricinfo\player.py", line 18, in init
self.new_json = self.get_new_json()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\sachi\AppData\Local\Programs\Python\Python313\Lib\site-packages\espncricinfo\player.py", line 50, in get_new_json
return r.json()
~~~~~~^^
File "C:\Users\sachi\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Please help

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions