推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
ns2250225
V2EX  ›  Python

请问 requests 库的 proxy 怎样设置使用远程服务器的 ssr 来访问 google 啊

  •  
  •   ns2250225 ·
    ns2250225 · Jan 11, 2019 · 2012 views
    This topic created in 2690 days ago, the information mentioned may be changed or developed.

    RT,本地的话可以使用:proxies = {"http": "127.0.0.1:1080", "https": "127.0.0.1:1080"},可是远程的呢,怎样认证身份啊?

    4 replies    2019-01-17 09:42:26 +08:00
    bmos
        1
    bmos  
       Jan 11, 2019
    ssr 本身可以局域网共享的,共享后填内网 IP 就可以。外网得做映射。
    jiangnanyanyu
        2
    jiangnanyanyu  
       Jan 11, 2019 via Android
    你得在你的 requests 中集成 ssr 的客户端才行
    bihuchao
        3
    bihuchao  
       Jan 14, 2019 via Android
    ssr 本地客户端可以设置本地端口,一般是 1080,使用这个端口就可以。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3312 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 00:39 · PVG 08:39 · LAX 17:39 · JFK 20:39
    ♥ Do have faith in what you're doing.