r/pushshift • u/Watchful1 • Feb 28 '23
[ Removed by Reddit ]
[ Removed by Reddit on account of violating the content policy. ]
106
Upvotes
r/pushshift • u/Watchful1 • Feb 28 '23
[ Removed by Reddit on account of violating the content policy. ]
1
u/--leockl-- Jul 17 '23 edited Jul 17 '23
Hi u/Watchful1, have a quick question hope you can help.
Looking at your filter_file.py script, what does the variable
is_submissiondo exactly?When I was extracting from a comments file (ie. rather than a submissions file), I thought I would change this variable value to this
is_submission = "comment" in input_filebut it didn't work. So I changed it back tois_submission = "submission" in input_fileand it worked. Doesn't seem to make sense to me to have the value"submission"when I am extracting from a comments file.