nityeshaga / scrape-and-send

A tool to scrape websites and send email alerts upon desired updates
1 stars 1 forks source link

Improve update_results() #26

Closed nityeshaga closed 6 years ago

nityeshaga commented 6 years ago

update_results() should notify the client only when a new entry is found in the web scraping process.

Right now, it simply checks for equality between the results DataFrame and the stored DataFrame. Change it so that it checks if any entry of the results DataFrame is present in the stored DataFrame. Only when it is present, shall it notify the client.