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

站点无法正常搜索种子,只能搜索到音乐类型种子,搜索电影种子就会显示 发生网络或其他错误 #1108

Closed
7788u opened this issue Aug 25, 2022 · 16 comments
Labels
bug Something isn't working

Comments

@7788u
Copy link

7788u commented Aug 25, 2022

  • PT 助手版本:v1.5.2.66028c6

  • PT 助手安装方式:zip包安装

  • 浏览器名称及版本:GOOGLE

  • 浏览器是否安装了其他插件:是

  • 停用其他插件后是否正常工作:不能

  • 问题描述:
    突然在搜索种子的时候 pterclub无法正常搜索,之前是正常的。比如搜索“指环王”只能出现两个音乐作品,其他电影类型的种子无法搜索,直接搜索电影类型的种子就会显示 “(网址)发生网络或其他错误”
    试过更换插件版本,重新注销账号在登陆 再添加站点,都无法解决这个问题 其他网站都是正常能搜索的

  • 相关截图:
    _20220825103325

  • 重现步骤:
    {
    "name": "PTer",
    "timezoneOffset": "+0800",
    "description": "PT之友俱乐部",
    "url": "https://pterclub.com/",
    "icon": "https://pterclub.com/favicon.ico",
    "tags": ["影视", "综合"],
    "schema": "NexusPHP",
    "host": "pterclub.com",
    "formerHosts": [
    "pter.club"
    ],
    "searchEntryConfig": {
    "fieldSelector": {
    "title": {
    "selector": ["a[href*='details.php?id='][title]:first"],
    "filters": ["query"]
    },
    "subTitle": {
    "selector": ["div>span"],
    "filters": ["query.text().trim()"]
    },
    "progress": {
    "selector": [".progbargreen", ".progbarred + .progbarrest", ".progbarred", ".progbarrest", ""],
    "switchFilters": [
    ["100"],
    ["query.prev().attr('style').replace('width: ','').replace('%;','')"],
    ["100"],
    ["0"],
    ["null"]
    ]
    },
    "status": {
    "selector": [".progbargreen", ".progbarred + .progbarrest", ".progbarred", ".progbarrest"],
    "switchFilters": [
    ["2"],
    ["3"],
    ["255"],
    ["3"]
    ]
    }
    }
    },
    "searchEntry": [{
    "name": "综合",
    "enabled": true
    }, {
    "entry": "/torrents.php?search=$key$&notnewword=1",
    "name": "综合",
    "enabled": true
    }, {
    "entry": "/music.php?search=$key$&notnewword=1",
    "name": "音乐",
    "enabled": true
    }],
    "selectors": {
    "userExtendInfo": {
    "merge": true,
    "fields": {
    "bonus": {
    "selector": ["td.rowhead:contains('猫粮') + td, td.rowhead:contains('Karma Points') + td, td.rowhead:contains('貓糧') + td"],
    "filters": ["query.text().replace(/,/g,'')", "parseFloat(query)"]
    },
    "seedingSize": {
    "selector": ["td.rowhead:contains('做种大小') + td, td.rowhead:contains('Seeding Size') + td, td.rowhead:contains('做種大小') + td"],
    "filters": ["query.text().trim().sizeToNumber()"]
    }
    }
    },
    "userSeedingTorrents": {
    "page": "/getusertorrentlist.php?userid=$user.id$&type=seeding",
    "fields": {
    "seeding": {
    "selector": ["tr:not(:eq(0))"],
    "filters": ["query.find('td.rowfollow:eq(1)').length"]
    }
    }
    }
    },
    "plugins": [{
    "name": "保种和官方列表",
    "pages": ["/reseed.php", "/officialgroup.php"],
    "scripts": ["/schemas/NexusPHP/common.js", "/schemas/NexusPHP/torrents.js"]
    }],
    "mergeSchemaTagSelectors": true,
    "torrentTagSelectors": [{
    "name": "⛔️",
    "selector": "a[href*='torrents.php?tag_exclusive=yes']"
    }]
    }

@7788u 7788u added the bug Something isn't working label Aug 25, 2022
@7788u 7788u closed this as completed Aug 25, 2022
@7788u 7788u reopened this Aug 25, 2022
@ted423
Copy link
Collaborator

ted423 commented Aug 25, 2022

我这正常...

@ted423
Copy link
Collaborator

ted423 commented Sep 5, 2022

请提供,浏览器版本,背景页控制台报错
image

@ted423 ted423 added the need more information 需要更多的信息 label Sep 5, 2022
@7788u
Copy link
Author

7788u commented Sep 5, 2022

20220905155431
感谢。浏览器版本是: 版本 104.0.5112.102(正式版本) (64 位)

@ted423
Copy link
Collaborator

ted423 commented Sep 5, 2022

点到网络这看看状态
image
然后你点进去看下预览的页面
能不能正常看到种子列表

image

@7788u
Copy link
Author

7788u commented Sep 5, 2022

20220905172320
20220905173103
谢谢。预览页面可以正常看到种子列表

@ted423
Copy link
Collaborator

ted423 commented Sep 5, 2022

能加载到页面一般是脚本执行哪里有问题,不排除受到其他因素干扰。

尝试下crx安装的看下呢?

@7788u
Copy link
Author

7788u commented Sep 5, 2022

20220905174842
尝试了crx,也是同样的情况

@ted423
Copy link
Collaborator

ted423 commented Sep 5, 2022

这种大概只能用你的浏览器调试看看了,停用所有其他扩展也还是一样是吧?路由有没有广告过滤之类的。或者有没有其他会改变页面元素的。
只有猫站会出现么

@7788u
Copy link
Author

7788u commented Sep 5, 2022

20220905231520
试了刚刚装完系统的电脑 刚安装的谷歌浏览器 用的手机的网络,也是这样的情况。别的站点都正常,只有猫站出现这个问题

@ted423
Copy link
Collaborator

ted423 commented Sep 6, 2022

看下有没其他人遇到,要么就是你权限跟普通用户不同?

@7788u
Copy link
Author

7788u commented Sep 6, 2022

好的,谢谢,那我先把问题关闭了?

@ted423
Copy link
Collaborator

ted423 commented Sep 6, 2022

不用,挂在这看看还有没其他人有这问题

@ted423 ted423 removed the need more information 需要更多的信息 label Sep 15, 2022
@ted423
Copy link
Collaborator

ted423 commented Sep 15, 2022

我这似乎也出现了,可能之前是缓存

@ted423
Copy link
Collaborator

ted423 commented Sep 15, 2022

因为猫把列表页 种子标题 a 的 title 拿了。
完全不理解为什么要这么做

@7788u
Copy link
Author

7788u commented Sep 15, 2022

竟然找到了原因,辛苦了

ted423 added a commit that referenced this issue Sep 15, 2022
@ted423
Copy link
Collaborator

ted423 commented Sep 15, 2022

修了

@ted423 ted423 closed this as completed Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants