LiAo451
V2EX  ›  问与答

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

  •  
  •   LiAo451 · Jan 21, 2024 via Android · 1876 views
    This topic created in 843 days ago, the information mentioned may be changed or developed.
    6 replies    2024-01-22 03:39:14 +08:00
    LiAo451
        1
    LiAo451  
    OP
       Jan 21, 2024 via Android
    首先不是 IT 行业,需求就是爬取网站公开关键字,可以实时发送邮箱。
    stinkytofu
        2
    stinkytofu  
       Jan 21, 2024
    太简单了
    stinkytofu
        3
    stinkytofu  
       Jan 21, 2024
    可以聊聊 TG https://t.me/StinkyTofus
    LiAo451
        4
    LiAo451  
    OP
       Jan 21, 2024 via Android
    @stinkytofu 电报和你说话了
    ztm0929
        5
    ztm0929  
       Jan 21, 2024
    @stinkytofu 请问实时的原理大概是怎样的?所有网站都可以创建 WebHook 吗?
    justkfc
        6
    justkfc  
       Jan 22, 2024
    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 隔段时间运行一次
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3260 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 13:35 · PVG 21:35 · LAX 06:35 · JFK 09:35
    ♥ Do have faith in what you're doing.