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

大佬们,爬东方财富的股吧被屏蔽 ip 了(已经设置为 1 秒爬一次了)

  •  
  •   xianyusea · Dec 22, 2020 · 4539 views
    This topic created in 2111 days ago, the information mentioned may be changed or developed.
    自己写的小脚本,想爬一下东方财富的股吧,体量不大,股票池就 200 个左右。
    现在每隔 1 秒 sleep 一下,在爬完第 100 个的时候,还是被封 ip 了(无论什么股票的吧都进不出,返一个股吧的主页给我)
    大佬们知道东方财富股吧反爬虫的频率阈值吗?一分钟最多访问几次?
    谢谢谢谢!
    4 replies  •  2023-09-20 09:45:57 +08:00
    newbieRenew
        1
    newbieRenew  
       Dec 22, 2020 via iPhone
    爬股吧有啥营养?大佬基本不会发言,发言的大都是新鲜韭菜
    ml1344677
        2
    ml1344677  
       Dec 24, 2020
    虽然你的逻辑是对的(猜测对方反爬机制 但是按你描述,明显是换个 ip 能解决的事情,而且花费资源不会很多。或者可以考虑某些代理网站的动态转发,一劳永逸解决问题。
    leetao102
        3
    leetao102  
       Dec 28, 2020
    代理池了解一下.
    lelele1212
        4
    lelele1212  
       Sep 20, 2023
    请问您解决这个问题了吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2278 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 90ms · UTC 07:18 · PVG 15:18 · LAX 00:18 · JFK 03:18
    ♥ Do have faith in what you're doing.