Update utilities/praw_downloader.py
Browse files
utilities/praw_downloader.py
CHANGED
@@ -82,8 +82,8 @@ def praw_downloader() -> Tuple[List[Dict[str, str]]]:
|
|
82 |
comments_list.append(extract_comment_data(comment))
|
83 |
submissions.append(data)
|
84 |
|
85 |
-
logger.info(f'Finished downloading {len(submissions)} submissions, {len(
|
86 |
-
return submissions,
|
87 |
|
88 |
|
89 |
if __name__ == "__main__":
|
|
|
82 |
comments_list.append(extract_comment_data(comment))
|
83 |
submissions.append(data)
|
84 |
|
85 |
+
logger.info(f'Finished downloading {len(submissions)} submissions, {len(comments_list)} comments')
|
86 |
+
return submissions, comments_list
|
87 |
|
88 |
|
89 |
if __name__ == "__main__":
|