Jan-10-2019, 09:04 PM
data = json.loads(r.data.decode('utf-8')) artist_name = data['channelMetadataResponse']['currentEvent']['artist']['name']by the way, look at requests - you can directly get response as json
http://docs.python-requests.org/en/maste...se-content
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs