V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
zdnyp
V2EX  ›  程序员

scrapy 在搜狗微信按时间段搜索时,返回的源码是“无搜索结果”

  •  
  •   zdnyp · Sep 17, 2019 · 2118 views
    This topic created in 2427 days ago, the information mentioned may be changed or developed.

    :bowtie:

    RT

    scrapy 在搜狗微信搜索关键词时,按照时间段搜索的,但是返回的源码跟浏览器直接搜索的不一样。

    并不是跳转到了验证码页面,而是返回的源码就是“无搜索结果”,实际上用浏览器操作是有搜索结果的。

    3 replies    2019-09-18 09:23:25 +08:00
    zdnyp
        1
    zdnyp  
    OP
       Sep 18, 2019
    打破零回复
    AOIO7t
        2
    AOIO7t  
       Sep 18, 2019
    你被检测到了
    zdnyp
        3
    zdnyp  
    OP
       Sep 18, 2019
    @AOIO7t 加了代理 IP 的,一般被检测到不都是跳转到验证码页面么...
    如果不按照时间段筛选,就没问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4941 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 09:52 · PVG 17:52 · LAX 02:52 · JFK 05:52
    ♥ Do have faith in what you're doing.