mirror of
https://github.com/bvanroll/odiseectf.git
synced 2025-08-29 11:52:43 +00:00
fucking damnit man
This commit is contained in:
8135
yt/commets.txt
Normal file
8135
yt/commets.txt
Normal file
File diff suppressed because one or more lines are too long
@@ -3,11 +3,12 @@ import json
|
|||||||
|
|
||||||
with open('comments-AKLrKMz-avE.json', 'r') as infile:
|
with open('comments-AKLrKMz-avE.json', 'r') as infile:
|
||||||
j = json.load(infile)
|
j = json.load(infile)
|
||||||
|
with open('commets.txt', 'w') as outfile:
|
||||||
|
for item in j:
|
||||||
|
|
||||||
for item in j:
|
|
||||||
try:
|
try:
|
||||||
if (item["commentText"]):
|
if (item["commentText"]):
|
||||||
temp = item["commentText"]
|
temp = item["commentText"]
|
||||||
print(temp.replace("\n", " ").replace("\r", " "))
|
outfile.write(temp.replace("\n", " ").replace("\r", " ")+"\n")
|
||||||
except KeyError:
|
except KeyError:
|
||||||
print("wss een comment reply")
|
print("wss een comment reply")
|
||||||
|
Reference in New Issue
Block a user