当前位置:   article > 正文

ahri8.php,松鼠症仓库自行更新规则后无法获取正确的title

松鼠症仓库

网址地址:[跳转页面]https://512539700c.top/dnew.php

或[原域名]https://ahri8.online/index.php

该网站的漫画标题用控制台可正常查看,但在网页源代码页面(存在其他正常显示的汉字的情况下)是乱码,并且每次的乱码都不一样,用base64转码和选择网页编码为utf-8都无法转为汉字。

标题在index列表页位置:

--

|

和gallery详情页位置1:

--

|

"此处为漫画标题"

和gallery详情页位置2

--

|

|

此处为漫画标题

附松鼠症仓库自行更新规则:

{

"categories": [

{

"cid": 1,

"title": "首页",

"url": "https://ahri8.online/dnew.php?page={page:1}"

},

{

"cid": 2,

"title": "单行本",

"url": "https://ahri8.online/dnew.php?category_id=1&page={page:1}"

},

{

"cid": 3,

"title": "同人志",

"url": "https://ahri8.online/dnew.php?category_id=2&page={page:1}"

},

{

"cid": 4,

"title": "杂志短篇/彩页",

"url": "https://ahri8.online/dnew.php?category_id=3&page={page:1}"

}

],

"disableHProxy": false,

"extraRule": {

"pictureRule": {

"item": {

"regex": ".*?\\.(?:jpg|jpeg|png|gif|bmp|webp)",

"selector": "div[id^='read_online_image']"

},

"thumbnail": {

"fun": "attr",

"param": "src",

"selector": "img"

},

"url": {

"fun": "attr",

"param": "src",

"selector": "img"

}

}

},

"flag": "preloadGallery|jsNeededGallery|secondLevelGallery",

"galleryRule": {

"description": {

"fun": "html",

"selector": "div#myTabContent2"

},

"pictureRule": {

"item": {

"selector": "span.favorite-comic~a[href^='readOnline']"

},

"thumbnail": {

"fun": "attr",

"param": "href",

"regex": "(.*)",

"replacement": "$1&page={page:1}",

"selector": "this"

},

"url": {

"fun": "attr",

"param": "href",

"regex": "(.*)",

"replacement": "$1&page={page:1}",

"selector": "this"

}

},

"tagRule": {

"item": {

"selector": "div[id^='tag_btn-group']>a"

},

"title": {

"fun": "text",

"regex": "(.*?)\\(\\d+\\)",

"selector": "div.col-md-7 col-sm-12 col-xs-12>div.name>h2.d"

},

"url": {

"fun": "attr",

"param": "href",

"regex": "(.*)",

"replacement": "$1&page={page:1}",

"selector": "this"

}

}

},

"galleryUrl": "https://ahri8.online/post.php?ID={idCode:}",

"gid": 1,

"index": 0,

"indexRule": {

"cover": {

"fun": "attr",

"param": "src",

"selector": "img"

},

"datetime": {

"fun": "text",

"regex": "(\\d+)",

"replacement": "❤$1",

"selector": "div.image-info small"

},

"idCode": {

"fun": "attr",

"param": "href",

"regex": "ID=(.*)",

"selector": "a"

},

"item": {

"selector": "div#gallery>div.image"

},

"rating": {

"fun": "text",

"regex": "([\\d.]+)\\(\\d+\\)",

"replacement": "$1/2",

"selector": "div.rating>span:last-child"

},

"title": {

"fun": "text",

"selector": "h5.title"

}

},

"indexUrl": "https://ahri8.online/dnew.php?page={page:1}",

"isGrid": false,

"loginUrl": "https://ahri8.online/index.php?route=account/register",

"searchUrl": "https://ahri8.online/dnew.php?search={keyword:}&p={page:1}",

"sid": 2,

"title": "松鼠症仓库",

"versionCode": 1

}

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/72716?site
推荐阅读
相关标签
  

闽ICP备14008679号