Add --ignore to ignore user

This commit is contained in:
Jay R. Wren
2021-10-30 22:19:46 -04:00
committed by Serene-Arc
parent 4a86482756
commit dd8d74ee25
5 changed files with 9 additions and 0 deletions

View File

@@ -17,5 +17,7 @@ class RedditCloner(RedditDownloader, Archiver):
def download(self):
for generator in self.reddit_lists:
for submission in generator:
if submission.author.name in self.args.ignore_user:
continue
self._download_submission(submission)
self.write_entry(submission)