哪位大佬有小鸡词典

视界
获赞:2    评论:2    查看:464

如题,哪位大佬有小鸡词典,求分享!之前的挂掉了

隔壁老王
Jehovah
回复(2)
  • 视界の世界 回复
    LoyDgIk 2020-07-30 12:34:04

    海阔视界规则分享,当前分享的是:首页频道¥home_rule¥{"firstHeader":"class","title":"小鸡词典","author":"@LoyDgIk","url":"https://jikipedia.com/#fypage","version":3,"col_type":"pic_1","class_name":"","class_url":"","area_name":"","area_url":"","sort_name":"","year_name":"","sort_url":"","year_url":"","find_rule":".masonry&&.tile;h1&&Text;;.text&&Text;a&&href","search_url":"https://jikipedia.com/search?phrase=**","titleColor":"","group":"②功能","searchFind":".masonry&&.tile;h1&&Text;a&&href;a&&title;.;","detail_col_type":"text_1","detail_find_rule":"js: \nvar n = 69;//字数,屏幕大小自己改\nvar res = {};\nvar d = [];\nvar html = getResCode();\nd.push({\n title: parseDomForHtml(html, '.author-name-container&&a&&Text'),\n pic_url: parseDomForHtml(html, '.author&&img&&src'),\n url: parseDom(html, '.author-name-container&&a&&href'),\n col_type: 'icon_2'\n});\nvar text = parseDomForHtml(html, '.brax-render&&Text');\nd.push({\n title: parseDomForHtml(html, '.basic-info&&.created&&Text') + '|' + parseDomForHtml(html, 'body&&.view&&Text'),\n url: getUrl(),\n col_type: 'text_2'\n});\nvar ansWer = [];\nif (text.length > n) {\n for (var i = 0,\n l = text.length; i < l / n; i++) {\n ansWer.push(text.slice(n * i, n * (i + 1)));\n }\n} else {\n ansWer.push(text)\n}\nfor (var i = 0; i < ansWer.length; i++) {\n d.push({\n title: ansWer[i],\n url: 'hiker://home@小鸡词典'\n });\n}\ntry{\nd.push({\n pic_url: parseDom(html, '.image&&img&&src'),\n url: parseDom(html, '.image&&img&&src'),\n col_type: 'pic_1_full'\n})} catch(e) {}\nvar len = parseDom(html, '.tags&&Html').match(/<a[\\s\\S]*?<\\/a>/g);\nif (len == null) {\n len = 0\n} else {\n len = len.length\n}\nfor (var i = 0; i < len; i++) {\n d.push({\n title: parseDomForHtml(html, '.tags&&a,' + i + '&&Text'),\n url: parseDom(html, '.tags&&a,' + i + '&&href'),\n col_type: 'text_3'\n });\n}\n//@LoyDgIk\nres.data = d;\nsetHomeResult(res);","sdetail_col_type":"movie_1","sdetail_find_rule":"*","ua":"auto"}

    拜谢!

  • LoyDgIk 回复

    海阔视界规则分享,当前分享的是:首页频道¥home_rule¥{"firstHeader":"class","title":"小鸡词典","author":"@LoyDgIk","url":"https://jikipedia.com/#fypage","version":3,"col_type":"pic_1","class_name":"","class_url":"","area_name":"","area_url":"","sort_name":"","year_name":"","sort_url":"","year_url":"","find_rule":".masonry&&.tile;h1&&Text;;.text&&Text;a&&href","search_url":"https://jikipedia.com/search?phrase=**","titleColor":"","group":"②功能","searchFind":".masonry&&.tile;h1&&Text;a&&href;a&&title;.;","detail_col_type":"text_1","detail_find_rule":"js: \nvar n = 69;//字数,屏幕大小自己改\nvar res = {};\nvar d = [];\nvar html = getResCode();\nd.push({\n title: parseDomForHtml(html, '.author-name-container&&a&&Text'),\n pic_url: parseDomForHtml(html, '.author&&img&&src'),\n url: parseDom(html, '.author-name-container&&a&&href'),\n col_type: 'icon_2'\n});\nvar text = parseDomForHtml(html, '.brax-render&&Text');\nd.push({\n title: parseDomForHtml(html, '.basic-info&&.created&&Text') + '|' + parseDomForHtml(html, 'body&&.view&&Text'),\n url: getUrl(),\n col_type: 'text_2'\n});\nvar ansWer = [];\nif (text.length > n) {\n for (var i = 0,\n l = text.length; i < l / n; i++) {\n ansWer.push(text.slice(n * i, n * (i + 1)));\n }\n} else {\n ansWer.push(text)\n}\nfor (var i = 0; i < ansWer.length; i++) {\n d.push({\n title: ansWer[i],\n url: 'hiker://home@小鸡词典'\n });\n}\ntry{\nd.push({\n pic_url: parseDom(html, '.image&&img&&src'),\n url: parseDom(html, '.image&&img&&src'),\n col_type: 'pic_1_full'\n})} catch(e) {}\nvar len = parseDom(html, '.tags&&Html').match(/<a[\\s\\S]*?<\\/a>/g);\nif (len == null) {\n len = 0\n} else {\n len = len.length\n}\nfor (var i = 0; i < len; i++) {\n d.push({\n title: parseDomForHtml(html, '.tags&&a,' + i + '&&Text'),\n url: parseDom(html, '.tags&&a,' + i + '&&href'),\n col_type: 'text_3'\n });\n}\n//@LoyDgIk\nres.data = d;\nsetHomeResult(res);","sdetail_col_type":"movie_1","sdetail_find_rule":"*","ua":"auto"}

发表话题
  • 积分
    30
  • 注册排名
    173