点击查看:自定义网站搜索教程
自己可以编辑好Json格式的规则,然后APP中网页规则页面右上角菜单中选择Json导入,粘贴规则即可,支持多个导入。网址导入则必须网址请求后返回的内容为如下的规范Json格式。
①单个站源Json格式例子如下:
{
"baseUrl": "https://53ys.cc",
"htmlCharset": "utf-8",
"name": "无双电影",
"reqCharset": "utf-8",
"reqType": "get",
"resultLinkPrefix": "https://53ys.cc",
"ruleChannelGroups": "class.fed-drop-boxs fed-drop-btms fed-matp-v.0@class.fed-part-rows",
"ruleDetailCover": "class.fed-deta-images fed-list-info fed-col-xs3.0@tag.a.0@data-original",
"ruleDetailCoverPrefix": "",
"ruleDetailIntro": "class.fed-col-xs12 fed-hide fed-show-md-block.0@text",
"ruleEpLink": "tag.a.0@href",
"ruleEpLinkPrefix": "https://53ys.cc",
"ruleEpListM3u8": "tag.li",
"ruleEpTitle": "tag.a.0@text",
"ruleResultLink": "tag.h1.0@tag.a.0@href",
"ruleResultList": "class.fed-part-layout fed-back-whits@tag.dl",
"ruleResultTitle": "tag.h1.0@tag.a.0@text",
"searchUrl": "https://53ys.cc/vodsearch/so.html?wd={search}",
"serialNumber": "1",
"userAgent": ""
}
②批量多个站源Json格式如下:
[
{
站源1
},
{
站源2
},
{
站源3
}
]