如何从shell连接到Google帐户

时间:2020-12-17 15:17:29

I would like to connect from shell to a Google account in order to simulate navigation from this account with something like wget. I have tried this command :

我想从shell连接到Google帐户,以便模拟此帐户的导航,例如wget。我试过这个命令:

wget -T 3 -t 1 -q --secure-protocol=TLSv1  --no-check-certificate  --user=$username --password=$password https://mail.google.com/mail/feed0/atom -O -

But I don't manage to validate the connection... Maybe with curl ? Thank you.

但我无法验证连接...也许与卷曲?谢谢。

1 个解决方案

#1


Login/password is insecure and not supported anymore. You need at least an "application-specific password" or better OAuth.

登录/密码不安全,不再受支持。您至少需要一个“应用程序专用密码”或更好的OAuth。

#1


Login/password is insecure and not supported anymore. You need at least an "application-specific password" or better OAuth.

登录/密码不安全,不再受支持。您至少需要一个“应用程序专用密码”或更好的OAuth。