LogicJake / WebMonitor

实时监控网页变化,并发送通知(Monitor web page changes in real time and send notifications)
https://logicjake.github.io/WebMonitor/#/
810 stars 199 forks source link

推荐大家使用另外一个服务 changedetection #121

Open weifeng12x opened 2 years ago

weifeng12x commented 2 years ago

这个项目已经很久没有更新了,而且我发现推送似乎有问题。折腾了很久最后发现这个项目 https://github.com/dgtlmoon/changedetection.io 这个项目完成度更高,目前还在维护中,而且可以直接使用图形化页面框选元素。

最后感谢作者对开源事业的贡献。

Dlian-Zero commented 2 years ago

明天部署看看,全是英文,有点难

weifeng12x commented 2 years ago

明天部署看看,全是英文,有点难

你如果会docker的话,这是docker 命令 一行代码搞定 docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io

https://hub.docker.com/r/dgtlmoon/changedetection.io

weifeng12x commented 2 years ago

明天部署看看,全是英文,有点难

你如果会docker的话,这是docker 命令 一行代码搞定 docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io https://hub.docker.com/r/dgtlmoon/changedetection.io 老哥你用了那个图形化框选元素了吗?我这里一致跳转让我安装selenium/standalone-chrome-debug:3.141.59 我已经安装好了,并且获取办法也设置了这样,4444端口也正常打开,但还是一样跳转让我安装 image

我用了图形化选择框,如果要启用这个功能你需要安装浏览器模块,这个是我用的docker-compose 脚本,你只需要修改储存数据的地方就行了。 这个是官方的脚本 https://github.com/dgtlmoon/changedetection.io/blob/master/docker-compose.yml

version: '2'
services:
    changedetection:
      image: ghcr.io/dgtlmoon/changedetection.io:0.39.17.2
      container_name: changedetection
      hostname: changedetection
      volumes:
        - {你储存数据的地址}/changedetection.io:/datastore

      environment:
        - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true
      # Comment out ports: when using behind a reverse proxy , enable networks: etc.
      ports:
        - 5000:5000
      restart: unless-stopped
     # Used for fetching pages via Playwright+Chrome where you need Javascript support.

    playwright-chrome:
       hostname: playwright-chrome
       image: browserless/chrome:1-puppeteer-15.5.0-slim
       restart: unless-stopped

volumes:
  changedetection-data:

这里只用到了5000 的端口作为Web 管理端,并不需要4444 端口

LogicJake commented 2 years ago

@willie91 建议私聊

Dlian-Zero commented 2 years ago

明天部署看看,全是英文,有點難

你如果會docker的話,這是docker 命令 一行代碼搞定 docker run -d --restart always -p “127.0.0.1:5000:5000” -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io https://hub.docker.com/r/dgtlmoon/changedetection.io 老哥你用了那個圖形化框選元素了嗎?我這裡一致跳轉讓我安裝selenium/standalone-chrome-debug:3.141.59 我已經安裝好了,並且獲取辦法也設置了這樣,4444埠也正常打開,但還是一樣跳轉讓我安裝 圖像

加下电报https://t.me/GODlian

PoolarBBear commented 1 year ago

但是这个changedecetion中文会出现乱码,有人知道怎么解决吗