/reddit-new-post-notify

Get notifications on new posts in a specific subreddit on Reddit

Primary LanguagePythonApache License 2.0Apache-2.0

reddit-new-post-notify

Very small python3 script for doing a task for every new post on a specific sub

How to use

  1. Specify the sub you wan't to run the check on (line 26)
  2. Specify how often to check (line 27)
  3. Specify the behaviour when a new post is found (function starting on line 30)
  4. Run

Example of running the script:

python3 notifier.py

The script can be stopped with the keys ctrl+C

notifier_small.py

In addition to the main script (notifier.py) there is also a mini version which aims to have the smallest source code possible while still having the same functionality of the main program. You should however almost always use the full version so you can safely ignore this.

Notifier mini size: 316 bytes