helloworld12
V2EX  ›  问与答

如何程序化翻译一个页面

  •  
  •   helloworld12 · Oct 19, 2017 · 1744 views
    This topic created in 3189 days ago, the information mentioned may be changed or developed.

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

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

    2 replies    2017-10-20 19:12:00 +08:00
    RoyLaw
        1
    RoyLaw  
       Oct 20, 2017
    Google 翻译应该有 API 可以调用,不用自己每次去页面上爬。
    helloworld12
        2
    helloworld12  
    OP
       Oct 20, 2017
    @RoyLaw 那个要钱的 :)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3102 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:12 · PVG 22:12 · LAX 07:12 · JFK 10:12
    ♥ Do have faith in what you're doing.