ofnotify notifies you of new private sales listing posts from Omega Forums.
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.
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).
Technologies used for this project:
- Python
- BeautifulSoup
- MongoDB (private)
- Heroku (private)
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.
--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 of the project folder:
Project folder:
├── ofnotify.py # Main script
└── README.md # Read Me
