This app scrapes the Publix Weekly Ad and returns the Pub Sub of the Week (the sub on sale this week and its cost). Currently, it uses simple caching to minimize web scraping. It can be refactored to work as an Alexa Skill, run on AWS Lambda.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. You will need node and npm installed.
Fork and clone the repository. Install dependencies with:
npm install
Run the code with:
node app.js
- Node.js - JavaScript runtime used to run the application
- Request - Simple client used to make HTTP requests
- Cheerio - Core jQuery implementation used to parse HTML and traverse/manipulate the resulting data structure
- Moment.js - Library used to generate and operate on caching dates and times
Please feel free to contribute or give feedback on the issues page. Let's make the best Publix Weekly Ad Crawler with a focus on deli deals out there!
We use SemVer for versioning. For the versions available, see the releases on this repository.
- Taylor Walker - Initial work - Website
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Thanks to Publix for giving me the inspiration for this project by their delicious subs and enticing deals!