• 请不要在回答技术问题时复制粘贴 AI 生成的内容
xuxuxu123
V2EX  ›  程序员

求助--实时获取邮箱邮件内容

  •  
  •   xuxuxu123 · Aug 5, 2020 · 2161 views
    This topic created in 2193 days ago, the information mentioned may be changed or developed.

    情况是这样的: 公司平台对接了一恶个第三方资源,第三方提供了 api 让我们获取数据,但是有限频,不满足数据时效性要求。现有方案,就是直接爬取对方后台管理页面获取数据。但是在登录时,第三方会给验证邮箱发送验证码,需要在登陆时将验证码填写后才能正确登录。

    求助各位老哥,有没有办法实时获取邮箱邮件内容,最好是能够主动推送内容而不需要实时爬取。 手动爬取方案已经有了 就是要实时刻刻去触发获取数据,有点不合适

    5 replies    2020-08-06 11:36:50 +08:00
    hitaoguo
        1
    hitaoguo  
       Aug 5, 2020
    被动的一方只能不断请求吧
    temporary
        2
    temporary  
       Aug 5, 2020
    exchange 协议可以长连接获得推送吧
    xuxuxu123
        3
    xuxuxu123  
    OP
       Aug 5, 2020
    @hitaoguo 不清楚 所以来求助了

    @temporary 多谢老哥,我去查查
    suotm
        4
    suotm  
       Aug 5, 2020
    exchange 协议
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2785 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:28 · PVG 13:28 · LAX 22:28 · JFK 01:28
    ♥ Do have faith in what you're doing.