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

links curl 不能运行?

  •  
  •   BackBox · 2013-01-19 17:50:13 +08:00 · 2113 次点击
    这是一个创建于 4129 天前的主题,其中的信息可能已经有所发展或是发生改变。
    $ links http://translate.google.com/#en/zh-CN/face
    zsh: bad pattern: http://translate.google.com/#en/zh-CN/face

    $ curl http://translate.google.com/#en/zh-CN/face
    zsh: bad pattern: http://translate.google.com/#en/zh-CN/face

    只是想做一个终端版本的google translate。

    但是不知道为啥没有返回想要的界面。
    3 条回复    1970-01-01 08:00:00 +08:00
    BackBox
        1
    BackBox  
    OP
       2013-01-19 18:29:03 +08:00
    用nokogiri也搞不定。
    binux
        2
    binux  
       2013-01-19 18:35:04 +08:00
    因为还有js
    BackBox
        3
    BackBox  
    OP
       2013-01-19 18:41:32 +08:00
    @binux 嗯,nokogiri返回的结果都是js。不知道如何破?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   998 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 20:53 · PVG 04:53 · LAX 13:53 · JFK 16:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.