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
bestehen
V2EX  ›  Python

爬虫的时候 账号总是被封

  •  
  •   bestehen · 2018-08-14 12:08:38 +08:00 · 2705 次点击
    这是一个创建于 2076 天前的主题,其中的信息可能已经有所发展或是发生改变。

    ip 是随机的,useragent 随机的,账号还是被封,这是 refrence 引起的吗?

    9 条回复    2018-08-15 11:35:14 +08:00
    nu11001
        1
    nu11001  
       2018-08-14 14:38:40 +08:00
    账号不是随机的,不封你封谁
    ScottAlone
        2
    ScottAlone  
       2018-08-14 15:01:58 +08:00
    一个正常的用户,ip 随机,是意味着他能瞬移么..
    ihavecat
        3
    ihavecat  
       2018-08-14 16:40:39 +08:00
    你是不是爬太快了
    tt67wq
        4
    tt67wq  
       2018-08-14 17:06:35 +08:00
    @ScottAlone ip 池或者拨号机的,不知道题主的 ip 池有多少
    ScottAlone
        5
    ScottAlone  
       2018-08-14 17:35:14 +08:00
    @tt67wq 我是指从被爬网站的角度看,要是一个账号不停变 ip,那肯定不是什么正经账户哈哈
    bsg1992
        6
    bsg1992  
       2018-08-14 17:44:56 +08:00
    大哥你同一个账号 IP 总是换早就被风控了啊
    donething
        7
    donething  
       2018-08-14 17:59:45 +08:00
    就是,一个账号不停换 ip,不封你封谁--
    Mrkon
        8
    Mrkon  
       2018-08-14 18:11:46 +08:00
    建议多账号(多 cookie ),多 IP,每个账号固定一两个 ip。
    bestehen
        9
    bestehen  
    OP
       2018-08-15 11:35:14 +08:00
    @Mrkon 原因是那个网站不能频繁换 ip 否则对应账号被封
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2852 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.