GithubHelp home page GithubHelp logo

easychen / checkchan-dist Goto Github PK

View Code? Open in Web Editor NEW
1.6K 14.0 155.0 108 MB

Check酱:监测网页内容变化,并发送异动到微信。亦支持http status、json和rss监测。配合自架云端,关电脑后也能运行。

Home Page: https://ckc.ftqq.com

License: Other

HTML 2.16% CSS 0.02% Dockerfile 0.22% JavaScript 97.42% Shell 0.14% PHP 0.04%
monitoring-server monitoring-tool wechat

checkchan-dist's Issues

(提问)json采集时的Url回调

还有个问题想问一下,json采集时预期的网页URL有时也在采集结果中,并不是固定的网页,这时候网页回调地址就无法使用了(同理还有FavIcon,但情况比较少就是了),这要怎样处理呀?

关于云端运行的任务列表和任务日志问题

  1. 同步任务到云端后,VNC 连接看不到任务列表,请问是正常的吗?如果是的话,云端除了下载 json 外如何查看所有任务列表呢?
  2. 日志似乎只能查看最新1分钟的日志,希望能够保留全部日志。

云端返回值处理时检测参数重复

无意间看到的,具体代码是这里:

if( item.replace_from_regex && item.replace_from_regex ) check_content = check_content.replace( new RegExp(item.replace_from_regex), item.replace_to_regex );

应该是 if( item.replace_from_regex && item.replace_to_regex ) 吧?

另外“返回值”处理这部分完全没有文档,教程视频里似乎也没有提到。在后续的收费教程中是否有这部分的内容呢?

无法上传配置到云

docker 当前version 2 版本部署, mac端Microsoft Edge版本 83.0.478.37
点击 通过云服务器检测 报错,尝试给插件加 <all_urls> 权限,依旧无效
截屏2022-05-23 00 01 45

尝试手动将导出的json文件传到 /data 路径中,缺少cookies字段报错, 手动加入 cookies字段后,在列表页点监测正常使用, 但是在编辑页面尝试测试,弹检测失败提示Tip

小白问一下如何设置云端无头浏览器的代理?

自架云端,centos7,本地已经有代理了,想在无头浏览器上装点扩展,发现不能访问某商店。是否在运行docker的时候,需要加 -e http
proxy的参数? 但是这样又整个容器都走代理了。理想的状态是整个容器不走代理,但是在无头浏览器上装一个switchyomega的扩展。可是无法访问某商店啊,晕。

插件版和docker版关于最后的刷新时间不对的问题

所有任务我这边基本都是设置的10min检测一次,但是每次看到面板的最后刷新时间经常都是没变化的,但是小说的更新推送是可以收到的,就是面板的读取到的更新内容展示不对,和最后的刷新时间不对

最后的刷新时间都是几天之前,之前以为我是同步到云端运行的原因,后面我用远程nvc版本挂电脑图标【也就是云端本地运行】也会出现最后时间不对的问题,都会大于我设定的10min检测一次

image

image

image

image

unraid无法部署docker镜像

平台为unraid + unraid虚拟出来的centos + unraid虚拟出来的群晖
部署后无法进入vnc,即8080(我映射到8089)无法打开网页,查看容器日志均如下:
image
安装部署命令如下:
docker run -d
--name checkchan
--log-opt max-size=10m
--restart always
-p 8089:8080
-p 5910:5900
-p 8088:80
-v /mnt/user/appdata/checkchan/data:/checkchan/data
-e TZ=Asiz/Shanghai
-e CKC_PASSWD=z515346364
-e VDEBUG=OFF
-e VNC=ON
-e API_KEY=z515346364
-e ERROR_IMAGE=NORMAL
easychen/checkchan:latest

20220820: 朋友的群晖可以正常使用,大概的确是我自身硬件问题了,好在只有VNC部分有问题,仅仅使用云端没有问题

b站视频标题会只出现NEW的变化

比如:
02:17:57 《古墓丽影 : 崛起》电影版 【4K | 21:9宽银幕】中英文双语字幕←02:17:57 NEW 《古墓丽影 : 崛起》电影版 【4K | 21:9宽银幕】中英文双语字幕

这种其实不该二次提醒,请问有什么办法吗?

Webhook 建议添加占位符支持

webhook 这里能否添加占位符,因为我使用的 bark 推送服务,又不想写接口转发,默认发送的 post 请求,bark 好像不太能解析。所以能不能添加一下占位符的支持。

然后默认发送的 post 请求中最好能够添加一下任务id所对应的任务名称字段,在通知显示这方面,比起任务的id,任务名称会更加易于识别。

动态页面卡死

Check酱点击动态后,卡死,无法点击任何链接或按钮。弹出无响应,是否退出页面或等待

云端后没有按照时间进行自动检测

本地浏览器插件可以按照规定时间进行检测,但一同步到云端,就不会自动按照规定时间进行检测了,手动点击检测,云端会检测。
部署:群辉docker
版本:Build.2022.06.09.14.30

关于监测返回值变化

image

方糖大大,请问这个条件返回的,可以在原始的数值上面+数量级嘛?就好比我想监测粉丝的变化,没新增100粉丝才通知,而不是大>=就增加,也就是减少发送消息的频率。我这边实践了一下,没成功,所以想问问是不是本身就有这个功能,是我操作方式不对的原因,还是有什么方式可以做到

生成的rss里面的link不对

这是订阅的rss里的内容:

<item>
  <title>
    <![CDATA[ 这才是夏天最顶级的夜宵!! ]]>
  </title>
  <description>
    <![CDATA[ 配料表在视频里面~ 做法非常简单的红油飘香串串,有空在家一定要试试啊٩(๑•̀ω•́๑)۶<br><br><iframe src="https://player.bilibili.com/player.html?aid=941200934&amp;high_quality=1" width="650" height="477" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" referrerpolicy="no-referrer"></iframe><br><img src="http://i0.hdslb.com/bfs/archive/59138f99cc3cd08a9062ba8c524441ef655185ad.jpg" referrerpolicy="no-referrer"> ]]>
  </description>
  <pubDate>Sat, 23 Jul 2022 09:00:00 GMT</pubDate>
  <guid isPermaLink="false">https://www.bilibili.com/video/BV1MW4y1276U</guid>
  <link>https://www.bilibili.com/video/BV1MW4y1276U</link>
  <author>
    <![CDATA[ 二喵的饭 ]]>
  </author>
</item>

这是从动态那生成的rss里的内容:

<item> 
    <title><![CDATA[二喵的饭的个人空间_哔哩哔哩_bilibili]]></title> 
    <link><![CDATA[https://rsshub.app/bilibili/user/video/29329085]]></link> 
    <guid><![CDATA[https://rsshub.app/bilibili/user/video/293290851659465317227]]></guid> 
    <pubDate><![CDATA[Tue, 02 Aug 2022 18:35:17 GMT]]></pubDate> 
    <description><![CDATA[这才是夏天最顶级的夜宵!!]]></description> 
</item>

很明显,生成的rss里的link字段弄错了

Python脚本内不能读取到环境变量

在docker-compose.yml environment字段添加了环境变量,如默认文件中的"TZ=Asia/Chongqing"

// docker-compose.yml
version: '3'
services:
  chrome:
    image: easychen/checkchan:latest
    volumes:
      - "./data:/checkchan/data"
    env_file:
      - ./env
    environment:
      - "CKC_PASSWD=${CKC_PASSWD}"
      - "VDEBUG=ON"
      - "VNC=ON"
      # - "WIN_WIDTH=414"
      # - "WIN_HEIGHT=896"
      # - "XVFB_WHD=500x896x16"
      - "API_KEY=${CKC_API_KEY}"
      - "ERROR_IMAGE=FULL" # NONE,NORMAL,FULL
      #- "SNAP_URL_BASE=<开启截图在这里写服务器地址(结尾不用加/),不开留空>..."
      - "SNAP_FULL=1"
      - "TZ=Asia/Chongqing"
    ports:
      - "5900:5900"
      - "8080:8080"
      - "8088:80"
// example.py
import os

print("ENV.TZ: %s" % os.getenv("TZ"))

// 相关log
21:43:33 3|app        |   ],
21:43:33 3|app        |   stdout: 'ENV.TZ: None\n',
21:43:33 3|app        |   stderr: 'Traceback (most recent call last):\n' +
21:43:33 3|app        |     '  File "/checkchan/data/app_data/8dd2b735adad86e8a00582b0446377a6.py", line 20, in <module>\n' +

关于发送消息

请问一下,check酱的消息推送渠道是否是全部通过server酱,然后转发绑定的微信应用、机器人以及 WebHook 等通道? 是否每发送一次,增加一次“每天最多发送条数”?
WebHook 是否受每天最多发送条数的数量影响!

谢谢

云端监控

如果配置了云端监控,则由云端接管监控任务,
有点吃内存,air不太行
还有一个 /home/chrome/app_data /home/chrome/user_data /data 这么多配置我该用哪个?

再就是docker问题

#!/bin/sh

if [ "$CKC_PASSWD" = "" ]; then
    crond -l 0
    node /api/app.js
else
    XVFB_WHD=${XVFB_WHD:-1220x1020x16}
    echo "Starting Xvfb"
    Xvfb :99 -ac -screen 0 $XVFB_WHD -nolisten tcp &
    sleep 2
    export DISPLAY=:99
    crond -l 0
    pm2 start /x11vnc.sh
    pm2 start /novnc.sh
    pm2 start /api/app.js
    pm2 start src/extension.js --no-daemon

fi

这不就搞定了,用户都没有设置 密码,启动个锤子的vnc,对吧,还有你那个docker 有点简陋啊

Dockerfile

WORKDIR /usr/src/app/
USER root

这就搞定了 权限问题,但是可能外面的用户用不了,所以需要外面创建一个 uid 为1000的用户,或者直接用root

还有 你的 /usr/src/app/ /api /data,这文件太乱了吧,兄台,看的我都懵逼了,/usr/src/app/ 这里面也有api,也有data,晕

你能不能给 docker 设置一个tag,latest 默认最新版,但是文档别写最新版,可以浏览器告诉用户该更新了

我后台 watchtower 直接把镜像拉倒最新了,我说怎么收不到通知了,直接蹦了

能不能给普通用户留条路,docker 加个 dingding 不为过吧。。。你收费咋也理解,但是钉钉飞书本来就是免费的,webhook 也是免费的这是关键啊
你app.js 也没做 进程守护,出问题了也不知道弹个通知 告诉用户 你的docker 镜像出问题了

docker 启动失败

[PM2] Starting /novnc.sh in fork_mode (1 instance)
[PM2] Done.
┌─────┬───────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name      │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼───────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 1   │ novnc     │ default     │ N/A     │ fork    │ 43       │ 0s     │ 0    │ online    │ 0%       │ 1.8mb    │ chrome   │ disabled │
│ 0   │ x11vnc    │ default     │ N/A     │ fork    │ 32       │ 0s     │ 0    │ online    │ 0%       │ 1.7mb    │ chrome   │ disabled │
└─────┴───────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
[62:88:0601/000556.010280:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[62:88:0601/000556.010498:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[62:86:0601/000556.014385:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[62:86:0601/000556.014510:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[62:62:0601/000556.021738:ERROR:process_singleton_posix.cc(339)] Failed to create /home/chrome/user_data/SingletonLock: Permission denied (13)
[62:62:0601/000556.021801:ERROR:chrome_browser_main.cc(1434)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241
            reject(new Error([
                   ^

Error: Failed to launch the browser process!
[62:88:0601/000556.010280:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[62:88:0601/000556.010498:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[62:86:0601/000556.014385:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[62:86:0601/000556.014510:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[62:62:0601/000556.021738:ERROR:process_singleton_posix.cc(339)] Failed to create /home/chrome/user_data/SingletonLock: Permission denied (13)
[62:62:0601/000556.021801:ERROR:chrome_browser_main.cc(1434)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

    at onClose (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
    at ChildProcess.<anonymous> (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:232:79)
    at ChildProcess.emit (node:events:539:35)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
Starting Xvfb
(EE)
Fatal server error:
(EE) Server is already active for display 99
	If this server is no longer running, remove /tmp/.X99-lock
	and start again.
(EE)

2022.8.1 docker拉取最新版本运行之后8088一直错误

sudo docker run -d -p 8088:80 -p 4080:8080 -p 5900:5900 -v ${PWD}/data:/checkchan/data -e API_KEY=guaijiu12345 -e VDEBUG=OFF -e WIN_WIDTH=414 -e WIN_HEIGHT=896 -e XVFB_WHD=500x896x16 -e VNC=ON -e SNAP_URL_BASE=http://42.193.xxx.xxx:8088 -e CKC_PASSWD=guaijiu12345 -e TZ=Asia/Chongqing easychen/checkchan:latest

http://42.193.xxx.xxx:8088这个写的是真实的服务器ip,确保无误,而且之前都是这样子运行的

image

容器的日志:
image

image

去除 docker 镜像打包中的 .git 目录

在用于 production 的镜像中包含 .git 目录是没有必要的,而且还增加了存储大小,带来了轻微的风险,便于攻击者明确得知具体的小版本。建议打包 docker 镜像时去掉所有的 .git 目录。

具体包括:

  • /checkchan/noVNC/.git
  • /checkchan/noVNC/utils/websockify/.git

点击修改按钮后一片空白

控制台报错为
Uncaught TypeError: Cannot read properties of undefined (reading 'replace') at N (2.16adb99e.chunk.js:1:820332) at R (2.16adb99e.chunk.js:1:820410) at e.value (main.d6ea93d8.chunk.js:1:23261) at ye (2.16adb99e.chunk.js:1:16911) at e.r (2.16adb99e.chunk.js:1:16605) at r.value (main.d6ea93d8.chunk.js:1:92006) at sc (2.16adb99e.chunk.js:1:2268545) at e (2.16adb99e.chunk.js:1:2268310) at ac (2.16adb99e.chunk.js:1:2268317) at 2.16adb99e.chunk.js:1:2280056
版本为Build.2022.06.26.14.42,浏览器为Edge 版本 103.0.1264.49 (正式版本) (64 位)

请问是否考虑接入Apprise?

RSSPUSH接入apprise的举动非常开放,希望check酱也能跟进

如果easy大坚持把server酱做成现金流项目的话,也……也可以理解

Docker配置问题

开发者你好,我想问问这个云端的有架构限制什么的吗?
在arm设备上部署后启动时会有如下报错信息:
stderr: exec /checkchan/shell/docker-entrypoint.sh: exec format error

云端运行任务满足条件不发送通知

使用云端运行任务,检测到值为“闲置”,设置触发条件为“!=运行中”,但并未正常触发通知。

手动点击监测,正常。

image

任务日志如下:

[2022-08-03 15:43:01]开始载入任务
[2022-08-03 15:43:01]Alas...条件检查 true
[2022-08-03 15:43:01]checking...Alas
[2022-08-03 15:43:04]{"status":true,"value":"闲置","type":"dom","link":""}
[2022-08-03 15:43:04]条件比较模式

[2022-08-03 15:44:01]开始载入任务
[2022-08-03 15:44:01]Alas...条件检查 false
[2022-08-03 15:44:01]全部任务处理完成

[2022-08-03 15:45:01]开始载入任务
[2022-08-03 15:45:01]Alas...条件检查 true
[2022-08-03 15:45:01]checking...Alas
[2022-08-03 15:45:03]{"status":true,"value":"闲置","type":"dom","link":""}
[2022-08-03 15:45:03]条件比较模式

任务配置如下:

{
    "checks": [
        {
            "id": "xxx",
            "title": "Alas",
            "enabled": 1,
            "is_cloud_task": 1,
            "url": "xxx",
            "icon": "xxx",
            "page": "",
            "path": "div#pywebio-scope-header_status > div > p",
            "ignore_path": "",
            "click_path": "",
            "scroll_down": "0",
            "type": "dom",
            "code": "200",
            "json_query": "",
            "json_header": "",
            "json_data": "",
            "json_data_format": "form",
            "rss_field": "title",
            "star": 0,
            "ua": "",
            "puppeteer_code": "search_btn = await page.$('#pywebio-scope-aside > div:nth-child(2) > div:nth-child(2) > button');\nawait search_btn.click();",
            "browser_code": "",
            "shell_type": "javascript",
            "shell_cookie_name": "COOKIE",
            "shell_code": "",
            "replace_from_regex": "",
            "replace_to_regex": "",
            "interval": "1",
            "delay": "0",
            "retry": 10,
            "cron": "* * * * *",
            "sendkey": "xxx",
            "send_channel": "18",
            "regex": "",
            "when": "every",
            "compare_type": "op",
            "compare_op": "ne",
            "compare_value": "运行中",
            "retry_times": 0,
            "last_content": "闲置",
            "last_time": 1659512464012
        }
    ],
    "cookies": {
        "xxx": []
    }
}

经常收到关于来自云端@172.17.0.9的错误信息

image

大大,从一开始用到现在最新版本,我这边的novnc跑的方式,总是会收到这种类似的通知,相当于我挂了几个任务,它经常一下子就发几条类似的这种错误消息过来。

出现这种情况最高的频率是我关电脑后一会,或者个吧小时,但是电脑开着的时候就好像很少出现这种连续发错误的提醒,但是还是会偶尔有,不知道有没有别的小伙伴出现过类似的情况没有。

我这边都是浏览器弄好,然后导出json文件,然后novnc远程的check酱上面再手动导入json数据的,每次我在浏览器上面点击同步,它都会提示已同步,但是novnc上面的版本就是不会出现任务,都是需要手动上传才出现任务。配置的云端地址还有API KEY都校验过,重点是显示log的视图里是可以看到后台运行的情况的,但就是在任务栏上面不会出现。

新版本的docker默认不改分辨率的话,在新的模块发现里面是看不到左下角蓝色的『监测更新』,需要修改手机的分辨率才能显示出来,就如果没看视频的话,估计是不知道这里还有这个按钮,所以可不可以下次把按钮放高一点呀。

怎样在终端显示html格式

获取raw html后如何在终端(如pushdear、bark等)上显示html的内容?我研究了很久,不知道是server酱的原因还是check酱的原因,终端只能显示plain text或者markdown

api key error

respoense: {"code":403,"message":"错误的API KEY"}

docker-compose:

image: easychen/checkchan:latest
    volumes:
      - /data/checkchan:/checkchan/data
    environment:
      - "CKC_PASSWD=qpzm2745"
      - "VDEBUG=OFF"
      - "VNC=ON"
      #- "WIN_WIDTH=414"
      #- "WIN_HEIGHT=896"
      #- "XVFB_WHD=500x896x16"
      - "API_KEY=2745"
      - "ERROR_IMAGE=NORMAL" # NONE,NORMAL,FULL
      #- "SNAP_URL_BASE=<开启截图在这里写服务器地址(结尾不用加/),不开留空>..."
      #- "SNAP_FULL=1"
      - "TZ=Asia/Chongqing"

docker logs :

checkchan | 22:25:12 4|extension  | [101:125:0604/222512.778164:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
checkchan | 22:25:12 4|extension  | [101:125:0604/222512.778551:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
checkchan | 22:25:12 4|extension  | [101:123:0604/222512.786208:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
checkchan | 22:25:12 4|extension  | [101:123:0604/222512.786347:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
checkchan | 22:25:12 4|extension  | [101:123:0604/222512.867482:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
checkchan | 22:25:12 4|extension  | [101:123:0604/222512.867649:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
checkchan | 22:25:12 4|extension  | [130:130:0604/222512.881938:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:127 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
checkchan | 22:25:12 4|extension  | [130:130:0604/222512.907525:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:127 (VerifyExtensionsPresent): Extension not supported: VK_KHR_xcb_surface
checkchan | 22:25:12 4|extension  | [130:130:0604/222512.909393:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1446.
checkchan | 22:25:12 4|extension  | [130:130:0604/222512.911687:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-7): A requested extension is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1446.
checkchan | 22:25:12 4|extension  | [130:130:0604/222512.915278:ERROR:gl_surface_egl.cc(1489)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
checkchan | 22:25:12 4|extension  | [130:130:0604/222512.916309:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
checkchan | 22:25:12 4|extension  | [130:130:0604/222512.943044:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
checkchan | 22:25:13 4|extension  | DevTools listening on ws://127.0.0.1:9222/devtools/browser/88767775-f4d0-4efa-9f50-8966abcd8021
checkchan | 22:25:13 4|extension  | [101:123:0604/222513.118822:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
checkchan | 22:25:13 4|extension  | [101:123:0604/222513.118933:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
checkchan | 22:25:13 4|extension  | [183:183:0604/222513.388951:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:127 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
checkchan | 22:25:13 4|extension  | [183:183:0604/222513.389294:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:127 (VerifyExtensionsPresent): Extension not supported: VK_KHR_xcb_surface
checkchan | 22:25:13 4|extension  | [183:183:0604/222513.391913:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1446.
checkchan | 22:25:13 4|extension  | [183:183:0604/222513.392462:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-7): A requested extension is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1446.
checkchan | 22:25:13 4|extension  | [183:183:0604/222513.392787:ERROR:gl_surface_egl.cc(1489)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
checkchan | 22:25:13 4|extension  | [183:183:0604/222513.393036:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
checkchan | 22:25:13 4|extension  | [101:185:0604/222513.399108:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
checkchan | 22:25:13 4|extension  | [101:185:0604/222513.399332:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
checkchan | 22:25:13 4|extension  | [101:185:0604/222513.399585:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
checkchan | 22:25:13 4|extension  | [101:185:0604/222513.399828:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
checkchan | 22:25:13 4|extension  | [101:185:0604/222513.400032:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
checkchan | 22:25:13 4|extension  | [183:183:0604/222513.424901:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
checkchan | 22:25:13 4|extension  | [192:192:0604/222513.515005:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is disabled, ANGLE is 
checkchan | 22:25:14 3|app        | Server start on http://localhost

(提问)json抓取多标签

请问使用json抓取时,遇到了多个标签下需要2个(或以上)标签的情况,要怎么解决呀?
类似于网页DOM文本中的多选择器,json抓取有时也需要多字段的一个组合输出,例如只需要书名和作者不需要出版社之类的场景……

超过最大重试次数后,检测任务始终跳过

之前断了一段时间的网,后来发现检测任务很久不工作,按F12发现是“重试次数超过,跳过”。需要一个个手动点击检测,能不能加个提示该任务重试次数超过的标记,或者加个一键探测所有重试次数超过任务的按钮。

浏览器插件版经常第二天开机起来就发现插件错误了

image

昨天早上也有一次早上开机找不到浏览器图标,然后发现插件错误了之后自动停用了,大概是一个weibo相关字眼的错误,当时没太在意

然后今天早上开机,发现插件图标又不见了,又到插件管理中心重新启用,这次截了一张图,应该不是偶发。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.