mirror of
				https://github.com/qist/tvbox.git
				synced 2025-10-31 04:02:22 +00:00 
			
		
		
		
	潇洒更新 202506030900
This commit is contained in:
		
							
								
								
									
										52
									
								
								xiaosa/js/爱搜Baidu.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								xiaosa/js/爱搜Baidu.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,52 @@ | ||||
| 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&type=BDY&page=fypage', | ||||
|     filter_url: '', | ||||
|     detailUrl: '', | ||||
|     searchUrl: 'https://www.esoua.com/search?q=**&format=video&share_time=half_year&type=BDY&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("迅雷云盘")) return null;\n            return {\n                vod_name: pdfh(x, "div&&a&&title"),\n                vod_pic: \'https://yx.aekgame.com/wp-content/uploads/2022/05/e27b-290abe63258be48d86b6676b6b0ba22d.jpg\',\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("迅雷云盘")) return null;\n            return {\n                vod_name: pdfh(x, "div&&a&&title"),\n                vod_pic: \'https://yx.aekgame.com/wp-content/uploads/2022/05/e27b-290abe63258be48d86b6676b6b0ba22d.jpg\',\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: {}, | ||||
| } | ||||
		Reference in New Issue
	
	Block a user