Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTTime站点搜索出错 #24

Open
RocksonLee opened this issue Apr 5, 2023 · 2 comments
Open

PTTime站点搜索出错 #24

RocksonLee opened this issue Apr 5, 2023 · 2 comments

Comments

@RocksonLee
Copy link

RocksonLee commented Apr 5, 2023

简述问题
使用 聚合操作-种子搜索 报错

报错日志如下:

[04-05T10:50:59.502 (app/common/Site.js 169:14) PTTime 种子列表抓取失败 (疑似是 Cookie 失效, 或绕过 CloudFlare 5s 盾失效), 报错如下:
 TypeError: Cannot read property 'trim' of null
    at Site.searchTorrent (/app/vertex/app/libs/site/PTTime.js:47:97)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Site.search (/app/vertex/app/common/Site.js:165:22)
    at async Promise.all (index 0)
    at async SiteMod.search (/app/vertex/app/model/SiteMod.js:154:20)
    at async search (/app/vertex/app/controller/Site.js:112:17)

简述环境

Vertex 版本:

主版本:0.0.14.0

编译版本:34e5a893be26

发布时间:2023-03-25 15:32:23

安装环境:hyper-v虚拟机下/debian11/docker

截图
image

补充信息

初步自检发现

/app/libs/site/PTTime.js 的第47行中

 _torrent.querySelector('.torrentname > tbody > tr .embedded br')).nextSibling 

为元素节点,返回 null 值,故导致报错

@vertex-app
Copy link
Owner

搜的什么

@RocksonLee
Copy link
Author

RocksonLee commented Apr 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants