mirror of
				https://github.com/ls125781003/tvboxtg.git
				synced 2025-10-31 05:42:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			52 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| var rule = {
 | |
|     title: '爱搜',
 | |
|     host: 'https://www.esoua.com/',
 | |
|     hostJs: '',
 | |
|     headers: {
 | |
|         'User-Agent': 'Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36',
 | |
|     },
 | |
|     编码: 'utf-8',
 | |
|     timeout: 5000,
 | |
|     url: 'https://www.esoua.com/search?q=fyclass&format=video&exact=true&page=fypage',
 | |
|     filter_url: '',
 | |
|     detailUrl: '',
 | |
|     searchUrl: 'https://www.esoua.com/search?q=**&format=video&exact=true&page=fypage',
 | |
|     searchable: 1,
 | |
|     quickSearch: 1,
 | |
|     filterable: 1,
 | |
|     class_name: '剧集&电影&短剧&动漫&综艺',
 | |
|     class_url: '剧集&电影&短剧&动漫&综艺',
 | |
|     proxy_rule: '',
 | |
|     sniffer: false,
 | |
|     isVideo: '',
 | |
|     play_parse: true,
 | |
|     parse_url: '',
 | |
|     lazy: "js:\n        input = 'push://' + input;\n    ",
 | |
|     limit: 9,
 | |
|     double: false,
 | |
|     // 推荐: '*',
 | |
|     一级: 'js:\n        let html = fetch(input);\n        let list = pdfa(html, "body&&.semi-space-medium-vertical");\n        VODS = list.map(x => {\n            let remarks = pdfh(x, "div&&img&&alt");\n            // 过滤掉包含"迅雷云盘"的内容\n            if(remarks.includes("迅雷云盘") || remarks.includes("115") || remarks.includes("阿里")) return null;\n            return {\n                vod_name: pdfh(x, "div&&a&&title"),\n                vod_pic: \'\',\n                vod_remarks: remarks,\n                vod_content: remarks,\n                vod_id: pdfh(x, "div&&a&&href")\n            }\n        }).filter(x => x !== null);\n    ',
 | |
|     二级: {
 | |
|         title: 'h1&&Text',
 | |
|         img: 'img&&src',
 | |
|         desc: '.card-text:eq(2)&&Text;;;;',
 | |
|         content: 'body&&.semi-space-loose-vertical&&a&&href',
 | |
|         tabs: "js:TABS = ['懒盘']",
 | |
|         lists: "js:\n            LISTS = [];\n            let lists1 = pdfa(html, 'body&&.semi-space-loose-vertical').map(it => {\n                let _tt = pdfh(it, 'span&&title');\n                let _uu = pdfh(it, 'a&&href');\n                return _tt + '$' + _uu;\n            });\n            LISTS.push(lists1);\n        ",
 | |
|     },
 | |
|     搜索: 'js:\n        let html = fetch(input);\n        let list = pdfa(html, "body&&.semi-space-medium-vertical");\n        VODS = list.map(x => {\n            let remarks = pdfh(x, "div&&img&&alt");\n            // 过滤掉包含"迅雷云盘"的内容\n            if(remarks.includes("迅雷云盘") || remarks.includes("115") || remarks.includes("阿里")) return null;let vodName = pdfh(x, "div&&a&&title");\n            // 过滤条件:迅雷云盘、.txt后缀、空名称\n            if(vodName.endsWith(".zip") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n            return {\n                vod_name: pdfh(x, "div&&a&&title"),\n                vod_pic: \'\',\n                vod_remarks: remarks,\n                vod_content: remarks,\n                vod_id: pdfh(x, "div&&a&&href")\n            }\n        }).filter(x => x !== null);\n    ',
 | |
|     cate_exclude: '首页|留言|APP|下载|资讯|新闻|动态',
 | |
|     tab_exclude: '猜你|喜欢|下载|剧情|榜|评论',
 | |
|     类型: '影视',
 | |
|     homeUrl: 'https://www.esoua.com/',
 | |
|     二级访问前: '',
 | |
|     encoding: 'utf-8',
 | |
|     search_encoding: '',
 | |
|     图片来源: '',
 | |
|     图片替换: '',
 | |
|     play_json: [],
 | |
|     pagecount: {},
 | |
|     tab_remove: [],
 | |
|     tab_order: [],
 | |
|     tab_rename: {},
 | |
| } |