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

关于个别站点,点击站点资源没有任何信息的问题 #8

Open
liuwaha opened this issue Nov 9, 2023 · 8 comments
Open

Comments

@liuwaha
Copy link

liuwaha commented Nov 9, 2023

你使用的 NAStool 是什么版本,什么环境?

NAStool 版本: v3.2.7 b471a4e

环境: docker

你遇到什么问题了?

点击站点管理-站点资源-憨憨和好大两个站没有任何的资源。因此在搜索资源时,这两个站明明有,但却不会显示出来,比如搜索变形金刚7,其他站点或多或少都能搜索到资源,但上述的两个站完全没有。

是否已经浏览过Issues、Wiki及TG公众号仍无法解决?

请搜索Issues列表、查看wiki跟TG公众号的更新说明,已经解释过的问题不要重复提问

你期望的结果

能否辛苦修复。

微信图片_20231109171238

也不知道留言是否符合要求,电脑小白,实际是不大会弄,请见谅

@Mattoids
Copy link
Owner

Mattoids commented Nov 9, 2023

麻烦提供一下具体无法获取数据的站点名称。

目前你截图中的站点实际已经被支持了,你可以选择安装“同步索引规则”插件,然后勾选上面四个选项,点确定后等待。在同步历史里面查看对应站点是否成功。同步成功后即可

@Mattoids
Copy link
Owner

Mattoids commented Nov 9, 2023

image

@liuwaha
Copy link
Author

liuwaha commented Nov 10, 2023

感谢作者回复,第一次能这样跟大牛沟通。
目前就是憨憨和高清视界这两个站点,点击站点测试,这两个站能连通,但点击站点管理-站点资源-点击憨憨或高清视界后,没有任何的结果显示。就如上面我发的截图。两个站也全部重新弄了COOKIE和rss,也按您说的装了同步索引规则插件,马上运行了两次,看了同步历史,里面只有“hdfans”显示成功,并没有憨憨和高清视界这两个站的信息。
最终这两个站在站点资源里还是不会显示任何的信息。这两个站一个改过版面,一个改过域名,之前有一阵子这两个站弄好了,但是后面又不行了。其他站点都正常。
感谢百忙之中看我的留言

@Mattoids
Copy link
Owner

这两个站确认下来索引规则是没问题的。“同步索引规则”插件同步会需要一定的时间,如果一直没有同步成功则可以尝试多进行几次同步。

若一直不成功,则可以安装“自定义索引器”插件,然后填写域名和索引规则内容即可。
注意:域名插件里面填写的域名必须与站点信息里面的域名地址完全一直

image

憨憨:
{"id":"hanhan","name":"\u61a8\u61a8","encoding":"UTF-8","public":false,"proxy":false,"domain":"https://hhanclub.top/","search":{"paths":[{"path":"torrents.php","method":"get"}],"params":{"search":"{keyword}","search_area":1},"batch":{"delimiter":" ","space_replace":"_"}},"batch":{"delimiter":" ","space_replace":"_"},"browse":{},"torrents":{"list":{"selector":"div.torrent-table-sub-info"},"fields":{"id":{"selector":"a[href*=\"details.php?id=\"]","attribute":"href","filters":[{"name":"re_search","args":["\\d+",0]}]},"category":{"selector":"a[href*=\"?cat[]=\"]","attribute":"href","filters":[{"name":"querystring","args":"cat"}]},"title_default":{"selector":"a[href*=\"details.php?id=\"]"},"title_optional":{"optional":true,"selector":"a[title][href*=\"details.php?id=\"]","attribute":"title"},"title":{"text":"{% if fields['title_optional'] %}{{ fields['title_optional'] }}{% else %}{{ fields['title_default'] }}{% endif %}"},"details":{"selector":"a[href*=\"details.php?id=\"]","attribute":"href"},"download":{"selector":"a[href*=\"download.php?id=\"]","attribute":"href"},"size":{"selector":"div.torrent-info-text-size"},"seeders":{"selector":"div.torrent-info-text-seeders > a[href*=\"#seeders\"]"},"leechers":{"selector":"div.torrent-info-text-leechers > a[href*=\"#leechers\"]"},"grabs":{"selector":"div.torrent-info-text-finished"},"date_elapsed":{"selector":"div.torrent-info-text-added > span","optional":true},"date_added":{"selector":"div.torrent-info-text-added > span","attribute":"title","optional":true},"date":{"text":"{% if fields['date_elapsed'] or fields['date_added'] %}{{ fields['date_elapsed'] if fields['date_elapsed'] else fields['date_added'] }}{% else %}now{% endif %}","filters":[{"name":"dateparse","args":"%Y-%m-%d %H:%M:%S"}]},"downloadvolumefactor":{"case":{"span.promotion-tag-free":0,"span.promotion-tag-free2up":0,"span.promotion-tag-50pctdown":0.5,"span.promotion-tag-50pctdown2up":0.5,"span.promotion-tag-30pctdown":0.3,"*":1}},"uploadvolumefactor":{"case":{"span.promotion-tag-50pctdown2up":2,"span.promotion-tag-free2up":2,"span.promotion-tag-2up":2,"*":1}},"description":{"selector":"div.torrent-info-text-small_name"},"labels":{"selector":"a[href*=\"?tag_id\"] > span.tag"}}},"category":{"movie":[{"id":401,"cat":"Movies","desc":"Movies/\u7535\u5f71"},{"id":405,"cat":"Anime","desc":"Animations/\u52a8\u6f2b"}],"tv":[{"id":404,"cat":"TV/Documentary","desc":"Documentaries/\u7eaa\u5f55\u7247"},{"id":405,"cat":"Anime","desc":"Animations/\u52a8\u6f2b"},{"id":402,"cat":"TV","desc":"TV Series/\u8fde\u7eed\u5267"},{"id":403,"cat":"TV","desc":"TV Shows/\u7efc\u827a"}]}}

高清视界
{"id":"gaoqingshijie","name":"\u9ad8\u6e05\u89c6\u754c","domain":"https://hdarea.club/","encoding":"UTF-8","public":false,"search":{"paths":[{"path":"torrents.php","method":"get"}],"params":{"search":"{keyword}"},"batch":{"delimiter":" ","space_replace":"_"}},"category":{"movie":[{"id":300,"cat":"Movies/UHD","desc":"Movies UHD-4K"},{"id":401,"cat":"Movies/BluRay","desc":"Movies Blu-ray"},{"id":415,"cat":"Movies/HD","desc":"Movies REMUX"},{"id":416,"cat":"Movies/3D","desc":"Movies 3D"},{"id":410,"cat":"Movies/HD","desc":"Movies 1080p"},{"id":411,"cat":"Movies/HD","desc":"Movies 720p"},{"id":414,"cat":"Movies/DVD","desc":"Movies DVD"},{"id":412,"cat":"Movies/WEB-DL","desc":"Movies WEB-DL"},{"id":413,"cat":"Movies/HD","desc":"Movies HDTV"},{"id":417,"cat":"Movies/Other","desc":"Movies iPad"}],"tv":[{"id":404,"cat":"TV/Documentary","desc":"Documentaries"},{"id":405,"cat":"TV/Anime","desc":"Animations"},{"id":402,"cat":"TV","desc":"TV Series"},{"id":403,"cat":"TV","desc":"TV Shows"}]},"torrents":{"list":{"selector":"table.torrents > tr:has(\"table.torrentname\")"},"fields":{"id":{"selector":"a[href*=\"details.php?id=\"]","attribute":"href","filters":[{"name":"re_search","args":["\\d+",0]}]},"title_default":{"selector":"a[href*=\"details.php?id=\"]"},"title_optional":{"optional":true,"selector":"a[title][href*=\"details.php?id=\"]","attribute":"title"},"title":{"text":"{% if fields['title_optional'] %}{{ fields['title_optional'] }}{% else %}{{ fields['title_default'] }}{% endif %}"},"category":{"selector":"a[href*=\"?cat=\"]","attribute":"href","filters":[{"name":"replace","args":["?",""]},{"name":"querystring","args":"cat"}]},"details":{"selector":"a[href*=\"details.php?id=\"]","attribute":"href"},"download":{"selector":"a[href*=\"download.php?id=\"]","attribute":"href"},"imdbid":{"selector":"div.imdb_100 > a","attribute":"href","filters":[{"name":"re_search","args":["tt\\d+",0]}]},"date_elapsed":{"selector":"td:nth-child(4) > span","optional":true},"date_added":{"selector":"td:nth-child(4) > span","attribute":"title","optional":true},"date":{"text":"{% if fields['date_elapsed'] or fields['date_added'] %}{{ fields['date_elapsed'] if fields['date_elapsed'] else fields['date_added'] }}{% else %}now{% endif %}","filters":[{"name":"dateparse","args":"%Y-%m-%d %H:%M:%S"}]},"size":{"selector":"td:nth-child(5)"},"seeders":{"selector":"td:nth-child(6)"},"leechers":{"selector":"td:nth-child(7)"},"grabs":{"selector":"td:nth-child(8)"},"downloadvolumefactor":{"case":{"img.pro_free":0,"img.pro_free2up":0,"img.pro_50pctdown":0.5,"img.pro_50pctdown2up":0.5,"img.pro_30pctdown":0.3,"*":1}},"uploadvolumefactor":{"case":{"img.pro_50pctdown2up":2,"img.pro_free2up":2,"img.pro_2up":2,"*":1}},"free_deadline":{"default_value":"{% if fields['downloadvolumefactor']==0 %}{{max_time}}{% endif%}","default_value_format":"%Y-%m-%d %H:%M:%S.%f","selector":"img.pro_free,img.pro_free2up","attribute":"onmouseover","filters":[{"name":"re_search","args":["\\d+-\\d+-\\d+ \\d+:\\d+:\\d+",0]},{"name":"dateparse","args":"%Y-%m-%d %H:%M:%S"}]},"description":{"selector":"td:nth-child(2) > table > tr > td.embedded","contents":-1}}}}

@liuwaha
Copy link
Author

liuwaha commented Nov 10, 2023

谢谢您。憨这个站我按您上面自定义索引的导进去,可以了。谢谢
但是高清视界设置了自定义索引后,还是不行。不知道哪里出错了。
还烦请您再帮我看看,实在不行,找不到原因我也只能重装试试了。
微信图片_20231110112639
微信图片_20231110112645
微信图片_20231110112649
微信图片_20231110112653
微信图片_20231110113012

@liuwaha
Copy link
Author

liuwaha commented Nov 10, 2023

刚看了一下同步索引插件的日志,有一个错误,您可以帮忙看看吗?,谢谢
Uploading 微信图片_20231110180239.png…

@liuwaha
Copy link
Author

liuwaha commented Nov 10, 2023

错误提示是:“keyerror:site_brush"

@Mattoids
Copy link
Owner

你加我Q617289188吧,可能需要远程排查

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