Skip to content

running code to monitor some website's update and send msg in order to follow up on changes in a timely manner;对变动进行监测并及时提醒

Notifications You must be signed in to change notification settings

cleveralgorithms/monitorProjLyn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

monitorProjLyn

running code to monitor some website's update and send msg in order to follow up on changes in a timely manner

项目主题:对网页、计算机运行状态等进行监测,在网页更新、运行超限等场景下及时响应和通知。

Architecture

可分为三层:

  • Sensor 获取和处理要监测物品的数据;
  • Timer 时间控制,什么时候去取数,什么时候去get网页;
  • Reminder 对Sensor的返回值进行处理,是否触发提醒,触发怎么样的提醒;

理论上的构架如上,实际上为了开发速度直接耦合到一块了。

InAction

  • moviePresaleMonitorAtMaoyan.py:对特定电影是否开启预售进行监测,不错过抢票,像《复联四》这种超热门的年度电影,晚10分钟抢预售可能大部分电影院都没有票了。本程序包含对特定电影、特定电影+特定商圈、特定电影+特定影院进行监测,提醒方式包含:GUI弹窗、发微信群消息、控制台输出消息等,按需调用。具体代码思路和运行效果可参见:用代码监测特定商圈内电影是否开始预售(Python爬虫)

  • 对特定网文是否更新进行监测;

如何让程序定时运行?(包含开启自动运行、规定时间定时运行等)

About

running code to monitor some website's update and send msg in order to follow up on changes in a timely manner;对变动进行监测并及时提醒

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages