V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
LiAo451
V2EX  ›  问与答

爬取某个或多个公开网站的关键字,实时发送邮箱。有人会弄吗?

  •  
  •   LiAo451 · 100 天前 via Android · 1169 次点击
    这是一个创建于 100 天前的主题,其中的信息可能已经有所发展或是发生改变。
    6 条回复    2024-01-22 03:39:14 +08:00
    LiAo451
        1
    LiAo451  
    OP
       100 天前 via Android
    首先不是 IT 行业,需求就是爬取网站公开关键字,可以实时发送邮箱。
    stinkytofu
        2
    stinkytofu  
       100 天前
    太简单了
    stinkytofu
        3
    stinkytofu  
       100 天前
    可以聊聊 TG https://t.me/StinkyTofus
    LiAo451
        4
    LiAo451  
    OP
       100 天前 via Android
    @stinkytofu 电报和你说话了
    ztm0929
        5
    ztm0929  
       100 天前
    @stinkytofu 请问实时的原理大概是怎样的?所有网站都可以创建 WebHook 吗?
    justkfc
        6
    justkfc  
       99 天前
    for urllist in ${LIST[@]}
    do
    curl -sk ********* |grep keyword| tee xxx.log
    if [ $keyword = xxxx ]
    then
    cat xxx.log| mail -v -s "xxx" [email protected]
    大概就是这样子 几个命令的事 写个脚本加入 cron 隔段时间运行一次
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2558 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:11 · PVG 20:11 · LAX 05:11 · JFK 08:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.