Skip to content
Advertisement

Extract specific value from JSON with Python

I am trying to get all the websites from this json file

Unfortunately, when I use this code:

JavaScript

I get following error:

JavaScript

Any help is appreciated. Thank you in advance

Advertisement

Answer

Use raw data to get raw json and then iterate over ‘tokensattr of the response object:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement