推荐学习书目
› 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 · Aug 14, 2018 · 3871 views
    This topic created in 2965 days ago, the information mentioned may be changed or developed.

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

    9 replies  •  2018-08-15 11:35:14 +08:00
    nu11001
        1
    nu11001  
       Aug 14, 2018
    账号不是随机的,不封你封谁
    ScottAlone
        2
    ScottAlone  
       Aug 14, 2018
    一个正常的用户,ip 随机,是意味着他能瞬移么..
    ihavecat
        3
    ihavecat  
       Aug 14, 2018
    你是不是爬太快了
    tt67wq
        4
    tt67wq  
       Aug 14, 2018
    @ScottAlone ip 池或者拨号机的,不知道题主的 ip 池有多少
    ScottAlone
        5
    ScottAlone  
       Aug 14, 2018
    @tt67wq 我是指从被爬网站的角度看,要是一个账号不停变 ip,那肯定不是什么正经账户哈哈
    bsg1992
        6
    bsg1992  
       Aug 14, 2018
    大哥你同一个账号 IP 总是换早就被风控了啊
    donething
        7
    donething  
       Aug 14, 2018
    就是,一个账号不停换 ip,不封你封谁--
    Mrkon
        8
    Mrkon  
       Aug 14, 2018
    建议多账号(多 cookie ),多 IP,每个账号固定一两个 ip。
    bestehen
        9
    bestehen  
    OP
       Aug 15, 2018
    @Mrkon 原因是那个网站不能频繁换 ip 否则对应账号被封
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2547 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 05:50 · PVG 13:50 · LAX 22:50 · JFK 01:50
    ♥ Do have faith in what you're doing.