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

youtube-dl 无法用 socket 5 代理 那该怎么使用?

  •  
  •   fulajickhz · 2016-04-06 19:49:42 +08:00 · 3681 次点击
    这是一个创建于 2943 天前的主题,其中的信息可能已经有所发展或是发生改变。
    9 条回复    2016-04-06 22:50:18 +08:00
    fulajickhz
        1
    fulajickhz  
    OP
       2016-04-06 20:08:22 +08:00
    安装报错
    brew install proxychains-ng

    /usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
    /usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0
    fulajickhz
        2
    fulajickhz  
    OP
       2016-04-06 20:15:41 +08:00
    解决了
    Open the file brew.rb using the following command: vi /usr/local/Library/brew.rb

    Change the first line from: #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0 to #!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0

    Save and exit brew.rb
    fulajickhz
        3
    fulajickhz  
    OP
       2016-04-06 20:17:31 +08:00
    Open the file /usr/local/Library/ENV/4.3/xcrun

    Change the first line from: #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0 to #!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0

    Save and exit xcrun
    gimp
        4
    gimp  
       2016-04-06 20:18:17 +08:00
    也可以使用 polipo 将 socks5 转换为 HTTP 代理
    fulajickhz
        5
    fulajickhz  
    OP
       2016-04-06 20:30:50 +08:00
    @gimp 你好 不知道为什么 这么慢 427.74KiB/s 10M 的网 走 SS 因为高峰吗?
    Bryan0Z
        6
    Bryan0Z  
       2016-04-06 21:01:29 +08:00 via Android
    win 下 ss 不是自带 http 代理吗
    fulajickhz
        7
    fulajickhz  
    OP
       2016-04-06 21:14:49 +08:00
    @Bryan0Z OS : OS X 10.11
    imWBB
        8
    imWBB  
       2016-04-06 21:29:42 +08:00
    用国外 vps
    然后 再拖回来
    fulajickhz
        9
    fulajickhz  
    OP
       2016-04-06 22:50:18 +08:00
    最后通过 proxychains4 youtube-dl --external-downloader aria2c URL 实现 感谢 @mortal
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3404 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:57 · PVG 18:57 · LAX 03:57 · JFK 06:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.