Aug-12-2022, 03:39 PM
In your json, inbound and outbound are boolean, not strings. In your program you compare data["inbound"] to str "true". This should be:
if data['inbound']: print(data['url'])You could write it this way:
if data['inbound'] == True: print(data['url'])But it is nonsensical testing if the value of a boolean is True.