![](/img/trans.png)
[英]I want to run a python script that logs me into a website. So when i go to the website using the browser i would already be logged in
[英]Python script that notifies me when a update is made to a website.
我需要制作一个脚本,以便在对网站进行更改时通知我。 我不确定最好的方法,我不知道python有什么用处。 任何正确方向的推动都会有所帮助。
您可以使用远程页面的上次修改日期:
import urllib
u = urllib.urlopen("http://www.google.com")
u.info().get("last-modified")
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.