skip to Main Content

Json – Python error: TypeError: string indices must be integers

I'm trying to extract the list of all unique domains from the Disconnect.json file under all categories. Here's the link to the json file I'm using. https://github.com/disconnectme/disconnect-tracking-protection/blob/master/services.json And here's my python code for it: import json def get_disconnect_domains(disconnect_json_file): disconnect_domains =…

VIEW QUESTION
Back To Top
Search