Skip to content

apsm100/ofnotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

ofnotify

ofnotify notifies you of new private sales listing posts from Omega Forums.

General Info

The Problem

Omega Forums has a private sales forum which is moderated; sellers can 'bump' their sales listing once per day forever, or until their watch sells. As a result, the top-most listing is not always the newest. New sales postings can take a few hours to be approved by the moderators, hence new listings can sometimes fall near the middle or bottom of the sales list.

The Solution

This python script ignores 'bumped' sales listings and only updates the user with the newly approved sales listings. It does not matter when the new listings were originally posted for moderation (the dates are ignored).

Screenshot of a notification from the Gmail app.

alt text

Technologies

Technologies used for this project:

  • Python
  • BeautifulSoup
  • MongoDB (private)
  • Heroku (private)

Setup

Modify the email and password variables to enable notifications by email. If this is left null the output will be sent to output.html.

On first run, the script will load in all the zero-post listings, so expect a notification that has all the zero-post listings.

After this point, the script will only send a notification when a new listing appears in the list.

This script will work the best if run at a 1-10 minute interval, as it uses zero-posts as an indicator of a new listing.
The script is hosted on Heroku and uses MongoDB to store the listings.

Command Line Arguments

--noradius : Disables image radius in notifications.
--noimage : Disables images in notifications.
--noemail : Disables the email function and sends output to output.html.
--sendall : Send all zero-post listings.

Content

Content of the project folder:

 Project folder:
├── ofnotify.py                # Main script
└── README.md                  # Read Me

About

ofnotify notifies you of new private sales listing posts from Omega Forums.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages