I would personally err on the side of adhering to terms that a company asks. But although IANAL, it does seem likely that since the scraping is for the public good that even if this did go to court (unlikely), that the court would not rule in favor of Walgreens.