我试图创建一个应用程序,当页面发生变化时(例如当他们发布新内容ecc时)提醒我。
我的第一次尝试是获取页面html,存储它并将此代码与新代码进行比较。我用了:Simplest way to correctly load html from web page into a string in Java
我的第二次尝试是使用此:How to check whether a website has been updated and send a email?
但没有任何效果,因为它会在每次检查时都会警告页面为facebook.com(登录页面)或google.com更改(并且不可能)。
我该怎么办?