nareddyt / discover-rewards-notifier

A Chrome Extension that shows a notification when visiting sites that qualify for Discover® Deals or Cashback Rewards.
https://www.tejunareddy.com/discover-rewards-notifier/
GNU General Public License v3.0
6 stars 14 forks source link

[Difficult] Automate data retrieval #21

Open nareddyt opened 6 years ago

nareddyt commented 6 years ago

Currently, whenever we want to update our the deals or cashbacks data, someone needs to manual copy the HTML containing the data and paste it into the data/ folder. Then our HTML parser and data processor can read the HTML file and process the data.

We would love to be able to automate the HTML retrieval. However, this is difficult. The Discover Deals and Discover Cashback Offers require users to authenticate with their Discover credentials to login. Without the credentials, we cannot access the latest data.

We'll need to find a way to authenticate against discover's service and download the correct HTMLs.