Update to use .jsonl instead of .json
@@ -38,7 +38,7 @@ class attriObject:
def tweets_files(string, path):
"""Iterates over json files in path."""
for filename in os.listdir(path):
- if re.match(string, filename) and ".json" in filename:
+ if re.match(string, filename) and ".jsonl" in filename:
f = gzip.open if ".gz" in filename else open
yield path + filename, f
