Skip to content

cx-xing/google-translater

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

破解谷歌翻译的 Java 工具类:

1 获取 tkk 2 根据 tkk,和 输入内容 获取 tk 3 根据 word,tk ,组装 url 访问 谷歌翻译 api


2019-06-22

之前的破解不能用了,笔者通过反编译还原了代码,并且修改了下代码

https://github.com/junjun888/google-translater


调用如下:

 public static void main(String[] args) throws Exception {
        // 普通方式初始化
        GoogleApi googleApi = new GoogleApi();
        // 通过代理
//        GoogleApi googleApi = new GoogleApi("122.224.227.202", 3128);
        String result = googleApi.translate("hello world",  "zh");
        System.out.println(result);
    }

输出:

你好,世界

About

破解谷歌翻译

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.9%
  • JavaScript 5.1%