wget --user=user --password=password url

curl -u user:password url

可以使用这个来实现网页的登陆和下载