LiAo451
V2EX  ›  问与答

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

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