advancejar
V2EX  ›  问与答

怎么爬 vk.com? Python 出现 429 错误,普通浏览器不会

  •  
  •   advancejar · Jun 25, 2022 · 685 views
    This topic created in 1422 days ago, the information mentioned may be changed or developed.
    一直爬 vk.com 好好的,昨天出现了 429 错误(不是真 429 错误,应该是某些值没有就出现这个),但是用普通浏览器不会
    示例连接: https://vk.com/the.wall.street.journal

    用浏览器好好的,用 python 不行。

    暂时的解决方案:Selenium

    想问问正确的直接 python 爬取姿势?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4814 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 09:52 · PVG 17:52 · LAX 02:52 · JFK 05:52
    ♥ Do have faith in what you're doing.