mirror of
https://github.com/bvanroll/odiseectf.git
synced 2025-08-29 03:42:41 +00:00
14 lines
319 B
Python
14 lines
319 B
Python
import json
|
|
|
|
|
|
with open('comments-AKLrKMz-avE.json', 'r') as infile:
|
|
j = json.load(infile)
|
|
|
|
for item in j:
|
|
try:
|
|
if (item["commentText"]):
|
|
temp = item["commentText"]
|
|
print(temp.replace("\n", " ").replace("\r", " "))
|
|
except KeyError:
|
|
print("wss een comment reply")
|