S
S
Sergey Yavin2019-10-07 19:25:49
Python
Sergey Yavin, 2019-10-07 19:25:49

Can't extract data from json response?

There is a match on mellbet, I selected the json response through the inspector in the network tab, then I use it in the code.

import requests

response = requests.get("https://irmellarxdo.top/LiveFeed/GetGameZip?id=209637545&lng=ru&cfview=0&isSubGames=true&GroupEvents=true&partner=8&countevents=250&grMode=2")
print(type(response.json()))

Tell me why I get an object and not a list? And what can I read to understand how to get the data that I need from this answer?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey S., 2019-10-07
@Winsik

If type is removed, the result of executing your code is:

{u'Success': False, u'Value': None, u'ErrorCode': 0, u'Error': None, u'Guid': u'', u'Id': 0}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question