This commit is contained in:
莫名的悲伤 2024-01-13 00:56:16 +08:00
parent 1d88f6dc52
commit 6dc5f7a258
4 changed files with 48 additions and 127 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,34 +0,0 @@
// 地址发布页 https://www.bttwo.vip/
var rule = {
title:'两个BT',
// host:'https://www.bttwoo.com',
host:'https://www.bttwo.net',
url:'/fyclass/page/fypage',
filterable:0,//是否启用分类筛选,
searchUrl:'/xssearch?q=**&f=_all&p=fypage',
searchable:1,
quickSearch:1,
headers:{
'User-Agent':'UC_UA',
'Cookie':'myannoun=1'
},
timeout:5000,
class_name:'电影&电视剧&动画',//静态分类名称拼接
class_url:'gf&dsj&movie_bt_tags/donghua',//静态分类标识拼接
// class_parse: '.navlist li:gt(0):lt(7);a&&Text;a&&href;.*/(\\w+)',
play_parse:true,
lazy:'',
limit:5,
推荐:'.leibox;li;*;*;*;*',
double:true, // 推荐内容是否双层定位
一级:'.bt_img li;.lazy&&alt;.thumb.lazy&&data-original;.jidi span&&Text;a&&href',
二级:{
"title":"h1&&Text;.moviedteail_list&&li:eq(0)&&Text",
"img":".dyimg.fl img&&src",
"desc":".moviedteail_list&&li:eq(9)&&Text;;;.moviedteail_list&&li:eq(7)&&Text;.moviedteail_list&&li:eq(5)&&Text",
"content":".yp_context&&p:eq(0)&&Text",
"tabs":".ypxingq_t:eq(1) span",
"lists":".paly_list_btn:eq(#id) a"
},
搜索:'*',
}

View File

@ -34,7 +34,7 @@ class Spider(Spider): # 元类 默认的元类 type
result['class'] = classes result['class'] = classes
return result return result
def homeVideoContent(self): def homeVideoContent(self):
rsp = self.fetch("https://www.czys.me/") rsp = self.fetch("https://www.czzy66.com/")
root = self.html(rsp.text) root = self.html(rsp.text)
aList = root.xpath("//div[@class='mi_btcon']//ul/li") aList = root.xpath("//div[@class='mi_btcon']//ul/li")
videos = [] videos = []
@ -56,7 +56,7 @@ class Spider(Spider): # 元类 默认的元类 type
return result return result
def categoryContent(self,tid,pg,filter,extend): def categoryContent(self,tid,pg,filter,extend):
result = {} result = {}
url = 'https://www.czys.me/{0}/page/{1}'.format(tid,pg) url = 'https://www.czzy66.com/{0}/page/{1}'.format(tid,pg)
rsp = self.fetch(url) rsp = self.fetch(url)
root = self.html(rsp.text) root = self.html(rsp.text)
aList = root.xpath("//div[contains(@class,'mi_cont')]//ul/li") aList = root.xpath("//div[contains(@class,'mi_cont')]//ul/li")
@ -82,7 +82,7 @@ class Spider(Spider): # 元类 默认的元类 type
return result return result
def detailContent(self,array): def detailContent(self,array):
tid = array[0] tid = array[0]
url = 'https://www.czys.me/movie/{0}.html'.format(tid) url = 'https://www.czzy66.com/movie/{0}.html'.format(tid)
rsp = self.fetch(url) rsp = self.fetch(url)
root = self.html(rsp.text) root = self.html(rsp.text)
node = root.xpath("//div[@class='dyxingq']")[0] node = root.xpath("//div[@class='dyxingq']")[0]
@ -153,7 +153,7 @@ class Spider(Spider): # 元类 默认的元类 type
return result return result
def searchContent(self,key,quick): def searchContent(self,key,quick):
url = 'https://www.czys.me/xssearch?q={0}'.format(key) url = 'https://www.czzy66.com/xssearch?q={0}'.format(key)
# getHeader() # getHeader()
rsp = self.fetch(url) rsp = self.fetch(url)
root = self.html(rsp.text) root = self.html(rsp.text)
@ -195,7 +195,7 @@ class Spider(Spider): # 元类 默认的元类 type
return msg[0:-paddingLen] return msg[0:-paddingLen]
def playerContent(self,flag,id,vipFlags): def playerContent(self,flag,id,vipFlags):
url = 'https://www.czys.me/v_play/{0}.html'.format(id) url = 'https://www.czzy66.com/v_play/{0}.html'.format(id)
pat = '\\"([^\\"]+)\\";var [\\d\\w]+=function dncry.*md5.enc.Utf8.parse\\(\\"([\\d\\w]+)\\".*md5.enc.Utf8.parse\\(([\\d]+)\\)' pat = '\\"([^\\"]+)\\";var [\\d\\w]+=function dncry.*md5.enc.Utf8.parse\\(\\"([\\d\\w]+)\\".*md5.enc.Utf8.parse\\(([\\d]+)\\)'
rsp = self.fetch(url) rsp = self.fetch(url)

View File

@ -2,42 +2,47 @@
"spider": "https://fs-im-kefu.7moor-fs1.com/29397395/4d2c3f00-7d4c-11e5-af15-41bf63ae4ea0/1704615937579/fan.txt", "spider": "https://fs-im-kefu.7moor-fs1.com/29397395/4d2c3f00-7d4c-11e5-af15-41bf63ae4ea0/1704615937579/fan.txt",
"lives": [ "lives": [
{ {
"name": "初秋语•综合", "name": "—车—",
"type": 0, "type": 0,
"url": "https://ghproxy.net/https://raw.githubusercontent.com/gaotianliuyun/gao/master/list.txt", "url": "https://weixine.net/tv/ysclive.txt",
"playerType": 1, "playerType": 1,
"ua": "okhttp/3.15",
"epg": "http://epg.112114.xyz/?ch={name}&date={date}", "epg": "http://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png" "logo": "https://epg.112114.xyz/logo/{name}.png"
}, },
{ {
"name": "YanG•综合", "name": "—米—",
"type": 0, "type": 0,
"url": "https://ghproxy.com/https://raw.githubusercontent.com/YanG-1989/m3u/main/Gather.m3u", "url": "https://agit.ai/xiaohewanwan/TVBox/raw/branch/master/js/xmzb.txt",
"playerType": 1, "playerType": 1,
"ua": "okhttp/3.15",
"epg": "http://epg.112114.xyz/?ch={name}&date={date}", "epg": "http://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png" "logo": "https://epg.112114.xyz/logo/{name}.png"
}, },
{ {
"name": "范明明•综合", "name": "—欧—",
"type": 0, "type": 0,
"url": "https://fanty.run.goorm.site/live.txt", "url": "http://tv.nxog.top/m/tv/live.jpg",
"playerType": 1, "playerType": 1,
"ua": "okhttp/3.15",
"epg": "http://epg.112114.xyz/?ch={name}&date={date}", "epg": "http://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png" "logo": "https://epg.112114.xyz/logo/{name}.png"
}, },
{ {
"name": "YueChan•综合", "name": "—玉—",
"type": 0, "type": 0,
"url": "https://ghproxy.com/https://raw.githubusercontent.com/YueChan/Live/main/IPTV.m3u", "url": "http://124.223.177.85:88/svip/直播挺快.txt",
"playerType": 1, "playerType": 1,
"ua": "okhttp/3.15",
"epg": "http://epg.112114.xyz/?ch={name}&date={date}", "epg": "http://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png" "logo": "https://epg.112114.xyz/logo/{name}.png"
}, },
{ {
"name": "Yoursmile•综合", "name": "—分—",
"type": 0, "type": 0,
"url": "https://agit.ai/Yoursmile7/TVBox/raw/branch/master/live.txt", "url": "https://agit.ai/66666/mao/raw/branch/master/live20220813.txt",
"playerType": 1, "playerType": 1,
"ua": "okhttp/3.15",
"epg": "http://epg.112114.xyz/?ch={name}&date={date}", "epg": "http://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png" "logo": "https://epg.112114.xyz/logo/{name}.png"
}, },
@ -49,51 +54,6 @@
"ua": "okhttp/3.15", "ua": "okhttp/3.15",
"epg": "http://epg.112114.xyz/?ch={name}&date={date}", "epg": "http://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png" "logo": "https://epg.112114.xyz/logo/{name}.png"
},
{
"name": "Ray•综合",
"type": 0,
"url": "https://xhdwc.tk/tvlive.txt",
"playerType": 1,
"epg": "http://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png"
},
{
"name": "俊于•综合",
"type": 0,
"url": "http://home.jundie.top:81/Cat/tv/live.txt",
"playerType": 1,
"epg": "http://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png"
},
{
"name": "肥羊•斗鱼",
"type": 0,
"url": "https://ghproxy.com/https://raw.githubusercontent.com/Ftindy/IPTV-URL/main/douyuyqk.m3u",
"playerType": 1
},
{
"name": "肥羊•虎牙",
"type": 0,
"url": "https://ghproxy.com/https://raw.githubusercontent.com/Ftindy/IPTV-URL/main/huyayqk.m3u",
"playerType": 1
},
{
"name": "肥羊•YY",
"type": 0,
"url": "https://ghproxy.com/https://raw.githubusercontent.com/Ftindy/IPTV-URL/main/yylunbo.m3u",
"playerType": 1
},
{
"name": "初秋语•哔哩",
"type": 0,
"url": "./bili.m3u",
"playerType": 1
},
{
"name": "YuanHsing•油管",
"type": 0,
"url": "https://ghproxy.com/https://raw.githubusercontent.com/YuanHsing/YouTube_to_m3u/main/youtube.m3u"
} }
], ],
"sites": [ "sites": [
@ -131,11 +91,24 @@
"ext": "https://ghproxy.net/https://raw.githubusercontent.com/Dong-learn9/TVBox-zyjk/main/JS/js/荐片.js" "ext": "https://ghproxy.net/https://raw.githubusercontent.com/Dong-learn9/TVBox-zyjk/main/JS/js/荐片.js"
}, },
{ {
"key": "drpy_js_子子影视", "key": "南坊",
"name": "子子┃[js]", "name": "南坊┃App",
"type": 3, "type": 3,
"api": " https://xhdwc.tk/lib/drpy2.min.js", "api": "csp_AppMao",
"ext": "https://ghproxy.net/https://raw.githubusercontent.com/Dong-learn9/TVBox-zyjk/main/JS/js/子子影视.js" "searchable": 1,
"quickSearch": 1,
"changeable": 1,
"ext": "FbjCcU1KqpC5pkRX4Q3D+NciPclIFs4EHzRV89m3pENRS6PivxPrlXvH/4efUSWwUCWwwk8srkIDSXN9RIJkSCZPJqnRikLRakBH0XBB6uNlX6XgMjhUKBTbBXopnsWdvXX6OowIBLQ78wghs3yRbgJxOYvrglBVIeI4cTcDGxixtMJ+yL0zE9g1d+N2RH4JERZh3CoYXSO1hH420ARbjt08lerroREmfGoT8JEGfTFW3MrK3hWueIyRsyOllsj/P87VXSxEVLnwNm4fos8lCFL74+azvs61n89svqg="
},
{
"key": "九六",
"name": "九六┃直连",
"type": 3,
"api": "csp_Cs1369",
"playerType": 2,
"searchable": 1,
"quickSearch": 1,
"changeable": 1
}, },
{ {
"key": "玩偶哥哥", "key": "玩偶哥哥",
@ -168,14 +141,11 @@
"ext": "FbjPcVZY48PN/RIZ5QqOrspkJ4ZHF98MCHVX87i5y01XUNSIsT3IgxCP9qyzByO7aWmK03MmmHYwQmNlCJx9KFpYWNSc3hbeLTlD3SAclaw3AOnn" "ext": "FbjPcVZY48PN/RIZ5QqOrspkJ4ZHF98MCHVX87i5y01XUNSIsT3IgxCP9qyzByO7aWmK03MmmHYwQmNlCJx9KFpYWNSc3hbeLTlD3SAclaw3AOnn"
}, },
{ {
"key": "九六", "key": "drpy_js_子子影视",
"name": "九六┃直连", "name": "子子┃[js]",
"type": 3, "type": 3,
"api": "csp_Cs1369", "api": " https://xhdwc.tk/lib/drpy2.min.js",
"playerType": 2, "ext": "https://ghproxy.net/https://raw.githubusercontent.com/Dong-learn9/TVBox-zyjk/main/JS/js/子子影视.js"
"searchable": 1,
"quickSearch": 1,
"changeable": 1
}, },
{ {
"key": "csp_XYQHiker_dyx", "key": "csp_XYQHiker_dyx",
@ -538,16 +508,6 @@
"changeable": 1, "changeable": 1,
"jar": "http://tv.nxog.top/m/jar.php?id=ou" "jar": "http://tv.nxog.top/m/jar.php?id=ou"
}, },
{
"key": "南瓜",
"name": "南瓜┃App",
"type": 3,
"api": "csp_NanGua",
"playerType": 2,
"searchable": 1,
"quickSearch": 1,
"changeable": 1
},
{ {
"key": "drpy_js_JustLive", "key": "drpy_js_JustLive",
"name": " JustLive┃[js]", "name": " JustLive┃[js]",