推荐学习书目
› 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
jerryge
V2EX  ›  Python

ip 代理自动切换?

  •  
  •   jerryge · Jun 13, 2016 · 4981 views
    This topic created in 3797 days ago, the information mentioned may be changed or developed.

    看了一下 squid ,出口 ip 可以写在配置列表里,但是代理 ip 是网上抓的存入数据库,有办法定时更新到 squid 配置列表里吗?或者有其它解决方案吗?类似 scrapying hub.

    4 replies  •  2016-06-14 09:08:06 +08:00
    notgod
    notgod
    Jun 14, 2016❤️1
    1
    定时任务大法好
    流程
    抓 IP 验证 存数据库 定时读取验证 有效 生成配置文件 reload 或重启 squid
    messyidea
    messyidea
    Jun 14, 2016 via Android❤️1
    2
    可以试下 polipo ,文档里面好像有个 parentProxy 选项,可以参数命令行启动。
    ji4ozhu
    ji4ozhu
    Jun 14, 2016
    3
    ip.54nb.com 百度搜挂机宝。有 SDK 啊
    jerryge
    jerryge
    OP
    Jun 14, 2016
    4
    @notgod 完成到了验证有效。生成配置文件, reload 不知道查不查的到资料。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4550 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:10 · PVG 17:10 · LAX 01:10 · JFK 04:10
    ♥ Do have faith in what you're doing.