Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果 429,可尝试切换 domain #37

Open
lemisky opened this issue Nov 14, 2024 · 1 comment
Open

如果 429,可尝试切换 domain #37

lemisky opened this issue Nov 14, 2024 · 1 comment

Comments

@lemisky
Copy link
Member

lemisky commented Nov 14, 2024

如果 429,可尝试切换 domain

from pygtrans import Translate

if __name__ == "__main__":
    at = Translate(domain="co.uk")  # 以英国为例
    r = at.translate("hello")
    print(r.translatedText)
@lemisky
Copy link
Member Author

lemisky commented Nov 14, 2024

站点 谷歌网址 域名后缀 语种 国家 区域
Google 阿尔及利亚 google.dz dz 阿拉伯语 阿尔及利亚 非洲
Google 阿富汗 google.com.af com.af 波斯语 阿富汗 亚洲
Google 阿根廷 google.com.ar com.ar 西班牙语 阿根廷 南美洲
Google 阿联酋 google.ae ae 阿拉伯语 阿联酋 亚洲
Google 阿曼 google.com.om com.om 阿拉伯语 阿曼 亚洲
Google 阿塞拜疆 google.az az 阿塞拜疆语 阿塞拜疆 亚洲
Google 埃及 google.com.eg com.eg 阿拉伯语 埃及 非洲
Google 埃塞俄比亚 google.com.et com.et 安哈拉语 埃塞俄比亚 非洲
Google 爱尔兰 google.ie ie 爱尔兰语 爱尔兰 欧洲
Google 爱沙尼亚 google.ee ee 爱沙尼亚语 爱沙尼亚 欧洲
Google 安道尔 google.ad ad 法语 安道尔 欧洲
Google 安哥拉 google.co.ao co.ao 葡萄牙语 安哥拉 非洲
Google 奥地利 google.at at 德语 奥地利 欧洲
Google 澳大利亚 google.com.au com.au 英语 澳大利亚 大洋洲
Google 巴哈马 google.bs bs 英语 巴哈马 北美洲
Google 巴基斯坦 google.com.pk com.pk 乌尔都语 巴基斯坦 亚洲
Google 巴拉圭 google.com.py com.py 西班牙语 巴拉圭 南美洲
Google 巴林 google.com.bh com.bh 阿拉伯语 巴林 亚洲
Google 巴拿马 google.com.pa com.pa 西班牙语 巴拿马 北美洲
Google 巴西 google.com.br com.br 葡萄牙语 巴西 南美洲
Google 白俄罗斯 google.by by 白俄罗斯语 白俄罗斯 欧洲
Google 保加利亚 google.bg bg 保加利亚语 保加利亚 欧洲
Google 贝宁 google.bj bj 法语 贝宁 非洲
Google 比利时 google.be be 荷兰语 比利时 欧洲
Google 冰岛 google.is is 英语 冰岛 欧洲
Google 波黑 google.ba ba 塞尔维亚语 波黑 欧洲
Google 波兰 google.pl pl 波兰语 波兰 欧洲
Google 玻利维亚 google.com.bo com.bo 西班牙语 玻利维亚 南美洲
Google 伯利兹 google.com.bz com.bz 英语 伯利兹 北美洲
Google 博茨瓦纳 google.co.bw co.bw 茨瓦纳语 博茨瓦纳 非洲
Google 布基纳法索 google.bf bf 法语 布基纳法索 非洲
Google 布隆迪 google.bi bi 布隆迪语 布隆迪 非洲
Google 丹麦 google.dk dk 丹麦语 丹麦 欧洲
Google 德国 google.de de 德语 德国 欧洲
Google 东帝汶 google.tl tl 葡萄牙语 东帝汶 亚洲
Google 多哥 google.tg tg 法语 多哥 非洲
Google 多米尼加 google.com.do com.do 西班牙语 多米尼加 北美洲
Google 俄罗斯 google.ru ru 俄语 俄罗斯 欧洲
Google 厄瓜多尔 google.com.ec com.ec 西班牙语 厄瓜多尔 南美洲
Google 法国 google.fr fr 法语 法国 欧洲
Google 菲律宾 google.com.ph com.ph 菲律宾语 菲律宾 亚洲
Google 斐济 google.com.fj com.fj 印地语 斐济 大洋洲
Google 芬兰 google.fi fi 芬兰语 芬兰 欧洲
Google 冈比亚 google.gm gm 英语 冈比亚 非洲
Google 刚果(布) google.cg cg 法语 刚果(布) 非洲
Google 刚果(金) google.cd cd 法语 刚果(金) 非洲
Google 哥伦比亚 google.com.co com.co 西班牙语 哥伦比亚 南美洲
Google 哥斯达黎加 google.co.cr co.cr 西班牙语 哥斯达黎加 北美洲
Google 格陵兰 google.gl gl 格陵兰语 格陵兰 北美洲
Google 根西 google.gg gg 英语 根西 欧洲
Google 古巴 google.com.cu com.cu 西班牙语 古巴 北美洲
Google 圭亚那 google.gy gy 英语 圭亚那 南美洲
Google 哈萨克斯坦 google.kz kz 哈萨克语 哈萨克斯坦 亚洲
Google 海地 google.ht ht 法语 海地 北美洲
Google 韩国 google.co.kr co.kr 韩语 韩国 亚洲
Google 荷兰 google.nl nl 荷兰语 荷兰 欧洲
Google 黑山 google.me me 黑山语 黑山 欧洲
Google 洪都拉斯 google.hn hn 西班牙语 洪都拉斯 北美洲
Google 基里巴斯 google.ki ki 吉尔伯特语 基里巴斯 大洋洲
Google 吉布提 google.dj dj 阿拉伯语 吉布提 非洲
Google 吉尔吉斯斯坦 google.kg kg 吉尔吉斯语 吉尔吉斯斯坦 亚洲
Google 加纳 google.com.gh com.gh 英语 加纳 非洲
Google 加蓬 google.ga ga 法语 加蓬 非洲
Google 柬埔寨 google.com.kh com.kh 高棉语 柬埔寨 亚洲
Google 捷克 google.cz cz 捷克语 捷克 欧洲
Google 津巴布韦 google.co.zw co.zw 英语 津巴布韦 非洲
Google 喀麦隆 google.cm cm 法语 喀麦隆 非洲
Google 科特迪瓦 google.ci ci 法语 科特迪瓦 非洲
Google 科威特 google.com.kw com.kw 阿拉伯语 科威特 亚洲
Google 克罗地亚 google.hr hr 克罗地亚语 克罗地亚 欧洲
Google 肯尼亚 google.co.ke co.ke 英语 肯尼亚 非洲
Google 库克群岛 google.co.ck co.ck 毛利语 库克群岛 大洋洲
Google 拉脱维亚 google.lv lv 拉脱维亚语 拉脱维亚 欧洲
Google 莱索托 google.co.ls co.ls 莱索托语 莱索托 非洲
Google 老挝 google.la la 老挝语 老挝 亚洲
Google 黎巴嫩 google.com.lb com.lb 阿拉伯语 黎巴嫩 亚洲
Google 立陶宛 google.lt lt 立陶宛语 立陶宛 欧洲
Google 利比亚 google.com.ly com.ly 阿拉伯语 利比亚 非洲
Google 列支敦士登 google.li li 德语 列支敦士登 欧洲
Google 卢森堡 google.lu lu 德语 卢森堡 欧洲
Google 卢旺达 google.rw rw 卢旺达语 卢旺达 非洲
Google 罗马尼亚 google.ro ro 罗马尼亚语 罗马尼亚 欧洲
Google 马达加斯加 google.mg mg 马尔加什语 马达加斯加 非洲
Google 马恩 google.im im 马恩语 马恩 欧洲
Google 马尔代夫 google.mv mv 马尔代夫语 马尔代夫 亚洲
Google 马耳他 google.com.mt com.mt 马耳他语 马耳他 欧洲
Google 马拉维 google.mw mw 契瓦语 马拉维 非洲
Google 马来西亚 google.com.my com.my 马来语 马来西亚 亚洲
Google 马里 google.ml ml 法语 马里 非洲
Google 马其顿 google.mk mk 马其顿语 马其顿 欧洲
Google 毛里求斯 google.mu mu 英语 毛里求斯 非洲
Google 美国 google.com com 英语 美国 北美洲
Google 美属萨摩亚 google.as as 萨摩亚语 美属萨摩亚 大洋洲
Google 蒙古 google.mn mn 蒙古语 蒙古 亚洲
Google 孟加拉国 google.com.bd com.bd 英语 孟加拉国 亚洲
Google 秘鲁 google.com.pe com.pe 西班牙语 秘鲁 南美洲
Google 密克罗尼西亚 google.fm fm 英语 密克罗尼西亚 大洋洲
Google 摩尔多瓦 google.md md 摩尔多瓦语 摩尔多瓦 欧洲
Google 摩洛哥 google.co.ma co.ma 阿拉伯语 摩洛哥 非洲
Google 莫桑比克 google.co.mz co.mz 葡萄牙语 莫桑比克 非洲
Google 墨西哥 google.com.mx com.mx 西班牙语 墨西哥 北美洲
Google 纳米比亚 google.com.na com.na 南非荷兰语 纳米比亚 非洲
Google 南非 google.co.za co.za 南非语 南非 非洲
Google 瑙鲁 google.nr nr 瑙鲁语 瑙鲁 大洋洲
Google 尼加拉瓜 google.com.ni com.ni 西班牙语 尼加拉瓜 北美洲
Google 尼泊尔 google.com.np com.np 尼泊尔语 尼泊尔 亚洲
Google 尼日尔 google.ne ne 法语 尼日尔 非洲
Google 尼日利亚 google.com.ng com.ng 英语 尼日利亚 非洲
Google 纽埃 google.nu nu 纽埃语 纽埃 大洋洲
Google 挪威 google.no no 挪威语 挪威 欧洲
Google 诺福克岛 google.com.nf com.nf 英语 诺福克岛 大洋洲
Google 葡萄牙 google.pt pt 葡萄牙语 葡萄牙 欧洲
Google 日本 google.co.jp co.jp 日语 日本 亚洲
Google 瑞典 google.se se 瑞典语 瑞典 欧洲
Google 瑞士 google.ch ch 德语 瑞士 欧洲
Google 萨尔瓦多 google.com.sv com.sv 西班牙语 萨尔瓦多 北美洲
Google 萨摩亚 google.ws ws 英语 萨摩亚 大洋洲
Google 塞尔维亚 google.rs rs 塞尔维亚语 塞尔维亚 欧洲
Google 塞拉利昂 google.com.sl com.sl 英语 塞拉利昂 非洲
Google 塞内加尔 google.sn sn 法语 塞内加尔 非洲
Google 塞舌尔 google.sc sc 英语 塞舌尔 非洲
Google 沙特阿拉伯 google.com.sa com.sa 阿拉伯语 沙特阿拉伯 亚洲
Google 圣赫勒拿 google.sh sh 英语 圣赫勒拿 非洲
Google 圣马力诺 google.sm sm 意大利语 圣马力诺 欧洲
Google 斯里兰卡 google.lk lk 僧伽罗语 斯里兰卡 亚洲
Google 斯洛伐克 google.sk sk 斯洛伐克语 斯洛伐克 欧洲
Google 斯洛文尼亚 google.si si 斯洛文尼亚语 斯洛文尼亚 欧洲
Google 所罗门群岛 google.com.sb com.sb 洋泾浜语 所罗门群岛 大洋洲
Google 塔吉克斯坦 google.com.tj com.tj 塔吉克语 塔吉克斯坦 亚洲
Google 泰国 google.co.th co.th 泰语 泰国 亚洲
Google 坦桑尼亚 google.co.tz co.tz 英语 坦桑尼亚 非洲
Google 汤加 google.to to 英语 汤加 大洋洲
Google 特立尼达和多巴哥 google.tt tt 英语 特立尼达和多巴哥 北美洲
Google 土耳其 google.com.tr com.tr 土耳其语 土耳其 亚洲
Google 土库曼斯坦 google.tm tm 土库曼语 土库曼斯坦 亚洲
Google 托克劳 google.tk tk 英语 托克劳 大洋洲
Google 危地马拉 google.com.gt com.gt 西班牙语 危地马拉 北美洲
Google 委内瑞拉 google.co.ve co.ve 西班牙语 委内瑞拉 南美洲
Google 文莱 google.com.bn com.bn 马来语 文莱 亚洲
Google 乌干达 google.co.ug co.ug 英语 乌干达 非洲
Google 乌克兰 google.com.ua com.ua 乌克兰语 乌克兰 欧洲
Google 乌拉圭 google.com.uy com.uy 西班牙语 乌拉圭 南美洲
Google 乌兹别克斯坦 google.co.uz co.uz 乌兹别克语 乌兹别克斯坦 亚洲
Google 西班牙 google.es es 西班牙语 西班牙 欧洲
Google 希腊 google.gr gr 希腊语 希腊 欧洲
Google 新加坡 google.com.sg com.sg 马来语 新加坡 亚洲
Google 新西兰 google.co.nz co.nz 英语 新西兰 大洋洲
Google 匈牙利 google.hu hu 匈牙利语 匈牙利 欧洲
Google 牙买加 google.com.jm com.jm 英语 牙买加 北美洲
Google 亚美尼亚 google.am am 亚美尼亚语 亚美尼亚 亚洲
Google 以色列 google.co.il co.il 阿拉伯语 以色列 亚洲
Google 意大利 google.it it 意大利语 意大利 欧洲
Google 印度 google.co.in co.in 英语 印度 亚洲
Google 印度尼西亚 google.co.id co.id 印尼语 印度尼西亚 亚洲
Google 英国 google.co.uk co.uk 英语 英国 欧洲
Google 约旦 google.jo jo 阿拉伯语 约旦 亚洲
Google 越南 google.com.vn com.vn 越南语 越南 亚洲
Google 赞比亚 google.co.zm co.zm 英语 赞比亚 非洲
Google 泽西 google.je je 英语 泽西 欧洲
Google 乍得 google.td td 阿拉伯语 乍得 非洲
Google 直布罗陀 google.com.gi com.gi 西班牙语 直布罗陀 欧洲
Google 智利 google.cl cl 西班牙语 智利 南美洲
Google 中非 google.cf cf 法语 中非 非洲
Google 中国 google.cn cn 汉语 中国 亚洲
Google 香港 google.com.hk com.hk 汉语 中国 亚洲
Google 台湾 google.com.tw com.tw 汉语 中国 亚洲

@lemisky lemisky pinned this issue Nov 14, 2024
@lemisky lemisky changed the title 谷歌各国域名后缀 如果 429,可尝试切换 domain Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant