V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
songdezu
V2EX  ›  Python

请问代理池配合 python 爬虫是怎么实现的?什么 lib 能实现切换代理 IP?

  •  
  •   songdezu · 2016-11-04 22:05:49 +08:00 · 3714 次点击
    这是一个创建于 2740 天前的主题,其中的信息可能已经有所发展或是发生改变。

    看论坛里有人提到代理池,准备自己在 pyspider 上实现。有没有付费的代理池服务?

    8 条回复    2016-11-06 03:02:59 +08:00
    howeroc
        1
    howeroc  
       2016-11-04 23:03:43 +08:00
    linux 装上 Tor 服务,然后使用 stem 自动切换即可
    songdezu
        2
    songdezu  
    OP
       2016-11-05 01:53:39 +08:00
    @howeroc 谢谢 我原以为买几十个代理 ip 然后滚动更换
    kohnv
        3
    kohnv  
       2016-11-05 02:09:37 +08:00 via iPhone
    @songdezu 买 ip 是最好用的方法,速度快,缺点是太贵了。 tor 虽然不要钱但是卡得很
    songdezu
        5
    songdezu  
    OP
       2016-11-05 07:56:38 +08:00
    @binux 感谢老大 希望您持续更新 code 和 docker
    howeroc
        6
    howeroc  
       2016-11-05 09:08:33 +08:00 via Android
    我在 vultr 日本节点 tor 抓 play store 的数据,是有些慢
    dearmymy
        7
    dearmymy  
       2016-11-05 15:16:19 +08:00
    用 socks5 得比较多把,去买点吧,或者去快代理买。这种代理一大堆黑产用
    cszhiyue
        8
    cszhiyue  
       2016-11-06 03:02:59 +08:00
    squid
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   949 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:24 · PVG 05:24 · LAX 14:24 · JFK 17:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.