优酷求大神俢复

求助
获赞:1    评论:20    查看:644

海阔视界规则分享,当前分享的是:首页频道¥home_rule¥{"firstHeader":"class","title":"优酷","author":"zerOne123","url":"https://list.youku.com/category/page?c=fyclass&u=fyarea&s=fyyear&p=fypage&type=show","version":0,"col_type":"movie_3","class_name":" 剧集 & 电影 & 综艺 & 动漫 & 少儿 & 教育 ","class_url":"97&96&85&100&177&87","area_name":" 全部 & 全集 & 更新中 ","area_url":"&1&2","sort_name":"","year_name":" 按播放 & 按更新 & 按评论 & 按喜欢 & 最新上映 ","sort_url":"","year_url":"1&6&2&4&5","find_rule":"js:rnvar res = {};\r\nvar items = [];\r\nvar json = JSON.parse(getResCode());\r\nfor (var i = 0; i < json.data.length; i++) {\r\n var data = json.data[i];\r\n var url = 'https://search.youku.com/api/search?appScene=show_episode&showIds=' + data.videoLink.substring(29, 49);\r\n var desc = data.summary.indexOf('-') > 0 ? data.summary.replace(' 更新', '') : data.summary;\r\n if (data.summary ==' 资料 ') {\r\n url ='https://search.youku.com/api/search?pg=1&keyword=' + data.videoLink.split('q_')[1];\r\n desc = data.rightTagText;\r\n }\r\n items.push({\r\n title: data.title,\r\n desc: desc,\r\n pic_url: \"https:\"+ data.img,\r\n url: url\n});\r\n}\r\nres.data = items;\r\nsetHomeResult(res);","search_url":"https://search.youku.com/api/search?pg=fypage&keyword=**","titleColor":"#fff20c00","group":"4 免嗅探 ","searchFind":"js:rnvar res = {};\r\nvar items = [];\r\nvar json = JSON.parse(getResCode());\r\nfor (var i = 0; i < json.pageComponentList.length; i++) {\r\n if (json.pageComponentList[i].hasOwnProperty('commonData')) {\r\n var data = json.pageComponentList[i].commonData;\r\n items.push({\r\n title: data.titleDTO.displayName,\r\n img: data.posterDTO.vThumbUrl,\r\n desc: data.feature,\r\n content: data.updateNotice,\r\n url:'https://search.youku.com/api/search?appScene=show_episode&showIds=' + data.showId + '&appCaller=h5'\r\n });\r\n }\r\n}\r\nres.data = items;\r\nsetSearchResult(res);","detail_col_type":"movie_2","detail_find_rule":"js:\r\nvar res = {};\r\nvar items = [];\r\nvar origin_url = getUrl();\r\nvar json = JSON.parse(getResCode());\r\neval(fetch('hiker://files/rules/js/g-parse-list.js', {}));\r\nfunction toUrl(mode, url) {\r\n if (typeof mode ==='number') {\r\n if (mode === 0) {\r\n return url + @rule=js:var res = {};var items = [];var origin_url = getUrl();var parse_list = [\" + parse_list.join('\", \"') + \"];;var parsing_list = [\" + parsing_list.join('\", \"') + \"];items.push({ title: '直链解析合集', col_type: 'text_1' });for(var i=0;i<parse_list.length;i++){items.push({title:parse_list[i].split('¥')[0],url:parse_list[i].split('¥')[1]+origin_url+parse_list[i].split('¥')[2],col_type:'text_2'})}items.push({ title: '网页解析合集', col_type: 'text_1' });for(var i=0;i<parsing_list.length;i++){items.push({title:parsing_list[i].split('¥')[0],url:parsing_list[i].split('¥')[1]+origin_url,col_type:'text_3'})}res.data = items;setHomeResult(res);;\r\n } else if (mode <= parse_list.length) {\r\n return parsing_list[mode - 1].split('¥')[1] + url;\r\n }\r\n } else if (typeof mode ==='string') {\r\n for (var key in parse_list) {\r\n if (parse_list[key].indexOf(mode) > -1) {\r\n return parse_list[key].split('¥')[1] + url + parse_list[key].split('¥')[2];\r\n }\r\n }\r\n }\r\n return url;\r\n}\r\nif (origin_url.indexOf('keyword')> 0) {\r\n origin_url ='https://search.youku.com/api/search?appScene=show_episode&showIds=' + json.pageComponentList[0].commonData.showId;\r\n json = JSON.parse(fetch(origin_url, {}));\r\n}\r\nvar video_lists = json.serisesList;\r\nif (video_lists.length === 1) {\r\n var url ='https://v.youku.com/v_show/id_' + video_lists[0].videoId + '.html';\r\n items.push({\r\n title:' 直链解析 ',\r\n col_type:'text_1'\r\n});\r\n for (var i = 0; i < parse_list.length; i++) {\r\n items.push({\r\n title: parse_list[i].split('¥')[0],\r\n url: parse_list[i].split('¥')[1] + url + parse_list[i].split('¥')[2],\r\n col_type: 'text_2'\r\n });\r\n }\r\n items.push({\r\n title:' 网页解析 ',\r\n col_type:'text_1'\r\n});\r\n for (var i = 0; i < parsing_list.length; i++) {\r\n items.push({\r\n title: parsing_list[i].split('¥')[0],\r\n url: parsing_list[i].split('¥')[1] + url,\r\n col_type: 'text_3'\r\n });\r\n }\r\r\n} else if (video_lists.length> 1) {\r\n items.push({\r\n title:' 直链解析合集 ',\r\n url: origin_url + @rule=js: var res = {}; var items = []; var json = JSON.parse(getResCode()); var list = json.serisesList; var parse_list = [\" + parse_list.join('\", \"') + `\"]; for (var i = 0; i < parse_list.length; i++) {items.push({ title: parse_list[i].split('¥')[0]+'==>', col_type:'text_1'}); for (var j = 0; j < list.length; j++) {if (list[j].thumbUrl) {items.push({ title: list[j].showVideoStage

天天暴富
回复(20)
发表话题
  • 积分
    40
  • 注册排名
    58