V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
helloworld12
V2EX  ›  问与答

如何程序化翻译一个页面

  •  
  •   helloworld12 · 2017-10-19 21:57:22 +08:00 · 1229 次点击
    这是一个创建于 2395 天前的主题,其中的信息可能已经有所发展或是发生改变。

    或者说,怎样抓取 https://translate.google.com.hk/translate?hl=en&sl=zh-CN&tl=en&u=http%3A%2F%2Fqq.com&sandbox=1 里面的内容

    主要是它里面的内容是 ajax 翻译的,不是直接 response 的

    2 条回复    2017-10-20 19:12:00 +08:00
    RoyLaw
        1
    RoyLaw  
       2017-10-20 09:11:27 +08:00
    Google 翻译应该有 API 可以调用,不用自己每次去页面上爬。
    helloworld12
        2
    helloworld12  
    OP
       2017-10-20 19:12:00 +08:00
    @RoyLaw 那个要钱的 :)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3626 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 04:49 · PVG 12:49 · LAX 21:49 · JFK 00:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.