Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with match.py when passing match ID = 729303 #50

Open
satlujcodes opened this issue Aug 14, 2021 · 0 comments
Open

Issue with match.py when passing match ID = 729303 #50

satlujcodes opened this issue Aug 14, 2021 · 0 comments
Assignees

Comments

@satlujcodes
Copy link

Describe the bug
Whenever I try using match.py with match id =729303. it's throwing error: Expecting value: line 1 column 1 (char 0).
It's a valid match ID. I haven't got any issue for other match ids so far, but this one is throwing an error.
On deep diving, I found out that:
json_url = "https://www.espncricinfo.com/matches/engine/match/{0}.json".format(str(match_id))

This is giving: error 500 Internal Server Error

I tried json_url for other match ids and it's giving proper json object.

I don't know what's causing the issue with this match. Is it any server-side issue or am I doing something wrong?

To Reproduce
-> m = Match(729303)
-> m.json

Expected behavior
Match(729303) should work without any error.

Screenshots
Actual Error:
7293303_error
JSON_url for match_id =729303 (NOT WORKING)
729303_json
JSON_url for match_id =729301 (WORKING)
729301_json

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants