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.
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.