easychen / checkchan-dist Goto Github PK
View Code? Open in Web Editor NEWCheck酱:监测网页内容变化,并发送异动到微信。亦支持http status、json和rss监测。配合自架云端,关电脑后也能运行。
Home Page: https://ckc.ftqq.com
License: Other
Check酱:监测网页内容变化,并发送异动到微信。亦支持http status、json和rss监测。配合自架云端,关电脑后也能运行。
Home Page: https://ckc.ftqq.com
License: Other
还有个问题想问一下,json采集时预期的网页URL有时也在采集结果中,并不是固定的网页,这时候网页回调地址就无法使用了(同理还有FavIcon,但情况比较少就是了),这要怎样处理呀?
无意间看到的,具体代码是这里:
checkchan-dist/docker/api/cron.js
Line 68 in bc6cf4f
应该是 if( item.replace_from_regex && item.replace_to_regex )
吧?
另外“返回值”处理这部分完全没有文档,教程视频里似乎也没有提到。在后续的收费教程中是否有这部分的内容呢?
自架云端,centos7,本地已经有代理了,想在无头浏览器上装点扩展,发现不能访问某商店。是否在运行docker的时候,需要加 -e http
proxy的参数? 但是这样又整个容器都走代理了。理想的状态是整个容器不走代理,但是在无头浏览器上装一个switchyomega的扩展。可是无法访问某商店啊,晕。
仓库里的rss_upload文件,怎么用的呀?
使用环境:DSM 7.1 Docker
异常描述:在登录部分http网站时整个网站界面空白,状态代码400 bad request,并且会提示:Page layout may be unexpected due to Quirks Mode。
登入网站:http://cdwjw.chengdu.gov.cn/。
其他资料:网上查到其他软件也有类似情况,可参考keycloak/keycloak#9063
平台为unraid + unraid虚拟出来的centos + unraid虚拟出来的群晖
部署后无法进入vnc,即8080(我映射到8089)无法打开网页,查看容器日志均如下:
安装部署命令如下:
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部分有问题,仅仅使用云端没有问题
docker-compose 中设置 VNC=OFF
,NAS 后台显示 Docker容器checkchan意外停止。
恢复 VNC=OFF
,check 酱正常启动。
docker内部端口是80嘛?还需要开放哪些端口呢
比如:
02:17:57 《古墓丽影 : 崛起》电影版 【4K | 21:9宽银幕】中英文双语字幕←02:17:57 NEW 《古墓丽影 : 崛起》电影版 【4K | 21:9宽银幕】中英文双语字幕
这种其实不该二次提醒,请问有什么办法吗?
webhook 这里能否添加占位符,因为我使用的 bark 推送服务,又不想写接口转发,默认发送的 post 请求,bark 好像不太能解析。所以能不能添加一下占位符的支持。
然后默认发送的 post 请求中最好能够添加一下任务id所对应的任务名称字段,在通知显示这方面,比起任务的id,任务名称会更加易于识别。
Check酱点击动态后,卡死,无法点击任何链接或按钮。弹出无响应,是否退出页面或等待
本地浏览器插件可以按照规定时间进行检测,但一同步到云端,就不会自动按照规定时间进行检测了,手动点击检测,云端会检测。
部署:群辉docker
版本:Build.2022.06.09.14.30
打开VNC后,连接第一次显示有个unlock,点击后checks/upload才可以用
这是订阅的rss里的内容:
<item>
<title>
<![CDATA[ 这才是夏天最顶级的夜宵!! ]]>
</title>
<description>
<![CDATA[ 配料表在视频里面~ 做法非常简单的红油飘香串串,有空在家一定要试试啊٩(๑•̀ω•́๑)۶<br><br><iframe src="https://player.bilibili.com/player.html?aid=941200934&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字段弄错了
https://tronscan.org/#/contract/TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8/transfers
在这个网页下的记录,下面Transfer默认是【trx transfer】, 如何选到【trc20】下的记录?
目前选择器选择,因为这两个transfer记录的选择器是一样的,只能选到默认的【trx transfer】下的记录,比如 amount
在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' +
期待作者开源✨✨
不是开源吗,能不混淆不
docker-compose里的WEBHOOK_URL怎么配置呀?我配置的,好像没用。。。可以提供一个示例吗?
请问一下,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 镜像出问题了
[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)
111111
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,确保无误,而且之前都是这样子运行的
目前仅有 id
和 url
,但是这两个值对于事件的接收方来说并没有太大意义,因为任务定义只在发送方有。建议增加一个参数 name
把任务名称一起发送出去。
在用于 production 的镜像中包含 .git 目录是没有必要的,而且还增加了存储大小,带来了轻微的风险,便于攻击者明确得知具体的小版本。建议打包 docker 镜像时去掉所有的 .git 目录。
具体包括:
请问能不能提供一个简单的例子来说明使用方法?能不能安装额外的package
控制台报错为
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 位)
如果easy大坚持把server酱做成现金流项目的话,也……也可以理解
开发者你好,我想问问这个云端的有架构限制什么的吗?
在arm设备上部署后启动时会有如下报错信息:
stderr: exec /checkchan/shell/docker-entrypoint.sh: exec format error
目前的文字教程(readme)没有侧边折叠目录,检索起来不方便。
使用云端运行任务,检测到值为“闲置”,设置触发条件为“!=运行中”,但并未正常触发通知。
手动点击监测,正常。
任务日志如下:
[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": []
}
}
首先感谢作者做出这个项目。然后能否保留之前的云端,在脚本里通过判断没有设置相关环境变量时不启动 vnc。
大大,从一开始用到现在最新版本,我这边的novnc跑的方式,总是会收到这种类似的通知,相当于我挂了几个任务,它经常一下子就发几条类似的这种错误消息过来。
出现这种情况最高的频率是我关电脑后一会,或者个吧小时,但是电脑开着的时候就好像很少出现这种连续发错误的提醒,但是还是会偶尔有,不知道有没有别的小伙伴出现过类似的情况没有。
我这边都是浏览器弄好,然后导出json文件,然后novnc远程的check酱上面再手动导入json数据的,每次我在浏览器上面点击同步,它都会提示已同步,但是novnc上面的版本就是不会出现任务,都是需要手动上传才出现任务。配置的云端地址还有API KEY都校验过,重点是显示log的视图里是可以看到后台运行的情况的,但就是在任务栏上面不会出现。
新版本的docker默认不改分辨率的话,在新的模块发现里面是看不到左下角蓝色的『监测更新』,需要修改手机的分辨率才能显示出来,就如果没看视频的话,估计是不知道这里还有这个按钮,所以可不可以下次把按钮放高一点呀。
获取raw html后如何在终端(如pushdear、bark等)上显示html的内容?我研究了很久,不知道是server酱的原因还是check酱的原因,终端只能显示plain text或者markdown
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抓取时,遇到了多个标签下需要2个(或以上)标签的情况,要怎么解决呀?
类似于网页DOM文本中的多选择器,json抓取有时也需要多字段的一个组合输出,例如只需要书名和作者不需要出版社之类的场景……
之前断了一段时间的网,后来发现检测任务很久不工作,按F12发现是“重试次数超过,跳过”。需要一个个手动点击检测,能不能加个提示该任务重试次数超过的标记,或者加个一键探测所有重试次数超过任务的按钮。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.