From 6887fcc0e42b1a64ed80f8565fe3099aaa818930 Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sun, 4 Jul 2021 13:09:19 +0200 Subject: feat: Remove initial process Remove the process that downloads all the saved images. Now it only downloads the latest 100 and keeps watching for new saves. --- user.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'user.py') diff --git a/user.py b/user.py index e386c2d..a12cb59 100644 --- a/user.py +++ b/user.py @@ -38,9 +38,6 @@ if __name__ == "__main__": nxc.upload_file(path, f"im/{post.subreddit}/{path}") - for post in redditor.saved(limit=None): - uplaod(post) - sleep(60) generator = stream_generator(redditor.saved, attribute_name="name") -- cgit v1.2.3