gpt4 book ai didi

来自 google 的 Python 请求以希伯来语返回

转载 作者:行者123 更新时间:2023-12-01 05:49:05 24 4
gpt4 key购买 nike

当我使用(来自以色列 IP 地址)时:

requests.get('https://accounts.google.com/ServiceLogin')

响应是希伯来语(在隐身模式下的浏览器中也可以看到相同的内容)

我想以某种方式指定 get 方法,一个参数,表示“我想获得英语响应”。

我该怎么做?

最佳答案

尝试

requests.get('https://accounts.google.com/ServiceLogin?lp=1&hl=en')

(注意底部的语言选择器)

关于来自 google 的 Python 请求以希伯来语返回,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15066785/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com