Add --ignore to ignore user
This commit is contained in:
@@ -28,6 +28,8 @@ class Archiver(RedditConnector):
|
||||
def download(self):
|
||||
for generator in self.reddit_lists:
|
||||
for submission in generator:
|
||||
if submission.author.name in self.args.ignore_user:
|
||||
continue
|
||||
logger.debug(f'Attempting to archive submission {submission.id}')
|
||||
self.write_entry(submission)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user