Coder Social home page Coder Social logo

谢谢作者的付出,别名的批处理命令太方便了,别名proxy能添加修改代理端口号码? about video-downloader-deploy HOT 2 CLOSED

lussaczheng avatar lussaczheng commented on May 19, 2024
谢谢作者的付出,别名的批处理命令太方便了,别名proxy能添加修改代理端口号码?

from video-downloader-deploy.

Comments (2)

LussacZheng avatar LussacZheng commented on May 19, 2024

为别名 proxy 添加修改代理端口号的功能

现在你可以通过 proxy use 命令来为当前窗口指定代理(临时,关闭窗口后设置即丢失)。

完整的用法为 proxy use <httpHost:port> <httpsHost:port> ,例如:

>>> proxy use http://10.20.30.40:1234 https://50.60.70.80:5678

等效于:
set http_proxy=http://10.20.30.40:1234
set https_proxy=https://50.60.70.80:5678

简洁起见,你也可以只提供一个地址,甚至只提供一个端口号 proxy use <[host:]port> ,例如:

>>> proxy use http://10.20.30.40:1234

等效于:
set http_proxy=http://10.20.30.40:1234
set https_proxy=http://10.20.30.40:1234
>>> proxy use 1234

等效于:
set http_proxy=http://127.0.0.1:1234
set https_proxy=http://127.0.0.1:1234

你可以更新脚本文件,通过 Deploy.bat 重新导入默认别名 proxy ,再重新创建启动脚本并运行 下载视频.bat ,即可进行测试。

如果 proxy use 命令的使用设计和功能实现上有什么不合适的地方,欢迎继续提出意见和建议。

from video-downloader-deploy.

mxzxck avatar mxzxck commented on May 19, 2024

非常感谢,我马上就测试!

from video-downloader-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.