V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
bitinn
V2EX  ›  Node.js

node.js / io.js 调试海外 API 的经验

  •  
  •   bitinn · Apr 27, 2015 · 2164 views
    This topic created in 4026 days ago, the information mentioned may be changed or developed.
    回到国内之后,总是愁Twitter / Facebook这类API不好在本地测,除了搞台翻墙路由器以外有没其他办法?node.js / io.js还不支持系统代理,很多库也没办法直接修改http.Agent使用本地socks代理。
    6 replies    2015-05-21 01:22:30 +08:00
    dotslash
        1
    dotslash  
       Apr 27, 2015
    emric
        2
    emric  
       Apr 27, 2015
    也可以用树莓派, 想要无痛多平台只能在路由端, 一劳永逸很值得.
    bitinn
        3
    bitinn  
    OP
       Apr 27, 2015
    @dotslash 如果库是我控制的就可以加入支持socks/proxy,是开源的第三方库就没什么办法了。

    @emric 插入usb当路由器用吗?

    这里也请大家多多支持咱的global proxy建议哈哈 https://github.com/iojs/io.js/issues/1490
    ijse
        4
    ijse  
       Apr 27, 2015
    linux下可以试下proxychain工具,支持所有软件走代理
    jiangzhuo
        5
    jiangzhuo  
       May 3, 2015
    VPN啊。。。
    kenshinhu
        6
    kenshinhu  
       May 21, 2015
    SS啊~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5745 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 07:17 · PVG 15:17 · LAX 00:17 · JFK 03:17
    ♥ Do have faith in what you're doing.