mirror of
https://github.com/ls125781003/tvboxtg.git
synced 2025-12-11 22:52:27 +00:00
更新线路
PG线路:v20251119-1342 潇洒线路:v1119.2 南风线路:v1119
This commit is contained in:
Binary file not shown.
@@ -1 +1 @@
|
||||
44ff96b3cc067f85c9b84081653a69b1
|
||||
98c8d511fe619d632cd7d9906fe6cf7d
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
2de72994646ebf048248dcc3416cf939
|
||||
a46fab9a3d127035a1126c38823cac12
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
{"key":"狂风","name":"🌪狂风","type":3,"api":"csp_Xdai","playerType":2,"searchable":1,"quickSearch":1,"filterable":1,"ext":"7lj763gg402i79425533i486k8459ljik4g1jg41k6gi0h2850784gj2lk207j5k2ji745gl8478h6h3321l84j2j7lh2li1g0562546ligk98gi74"},
|
||||
{"key":"永夜","name":"🌙永夜","type":3,"api":"csp_Xdai","playerType":2,"searchable":1,"quickSearch":1,"filterable":1,"ext":"7lj763gg0939790i413gjh9kk011jijiggll990k9li73l224k770ik0j10l502j2j9l798lhj778hh33g018h94k5j400kij3567j7gji97kkk4118421g03lll"},
|
||||
{"key":"时常","name":"🏛时常","type":3,"api":"csp_Qiji","playerType":1,"searchable":1,"quickSearch":1,"filterable":1,"ext":"7lj763gg402i7942552h8ljjlj0jjki7g4lg99099jjh6l6l514k08hjl807161j139753h090539gig3604gi80lgl30jk3hk637h53gh9ljkij2lig30k277g50354k2k3jkl1g17i2820ii582l0483g61k6i79k7kk7274h1i5g6jjj833h2390k42396hik71kigl18k613"},
|
||||
{"key":"优质","name":"🌈优质","type":3,"api":"csp_Xdai","playerType":2,"searchable":1,"quickSearch":1,"filterable":1,"ext":"7lj763gg402i794252728181hk0980i2lhl1j905ikjh3170584h43l8gh0l090242905hk1i01i8g80220khi93llh21hk1l43g2609hikh92k02jji32g07lll4k18l8g0ill1ki272j208349655gi1k71g652gh3gj6374li9kg3jj977gl13g"},
|
||||
{"key":"Hudie","name":"🦋蝴蝶","type":3,"api":"csp_Xdai","playerType":2,"searchable":1,"quickSearch":1,"filterable":1,"ext":"7lj763gg0939791h1l239kj0g853i291lik7jk45j8i66j6l46590lkli918523h02826lh29i74948i3116h18kkgii17kki579606ik1h6kjlh2k8l36ll62h11k10g8"},
|
||||
{"key":"趣看","name":"🎐趣看","type":3,"api":"csp_Qiji","searchable":1,"quickSearch":1,"filterable":1,"ext":"7lj763gg402i7942552h8ljjlj0jjki7g4lg99099jjh6l6l514k08hjl807161j139753h090539gig3604gi80lgl30jk3hk637h53gh9ljkij2lig30k277g50354k2k3jkl1g17i2820ii582l0483g61k6i79k7kk7274h1i5g6jjj833h2390k42396hik71kigl18k613"},
|
||||
{"key":"主角","name":"🍃主角","type":3,"api":"csp_Muou","searchable":1,"quickSearch":1,"filterable":1,"ext":"7lj763gg402i794247258k9jh6598585l3g6ij13il8g20g9qiaoji8j9i9k1g3k90h7i507i213k5j602"},
|
||||
@@ -74,7 +73,7 @@
|
||||
{"key":"push_agent","name":"🐧裙:926953902","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"ext":{"commonConfig":"./json/peizhi.json"}},
|
||||
|
||||
{"key":"游戏直播","name":"🙀游戏直播","type":3,"api":"csp_Living","searchable":1,"changeable":0,"ext":{"siteUrl":"https://api.muxia.fun","commonConfig":"./json/peizhi.json"}},
|
||||
{"key":"虎牙","name":"🐯虎牙直播","type":3,"api":"https://ghfast.top/https://raw.githubusercontent.com/fantaiying7/EXT/refs/heads/main/drpy2.js","ext":"https://ghfast.top/https://raw.githubusercontent.com/fantaiying7/EXT/refs/heads/main/drpy2.js","style":{"type":"rect","ratio":1.755},"timeout":15,"playerType":"2","searchable":0,"quickSearch":0,"changeable":0},
|
||||
{"key":"虎牙","name":"🐯虎牙直播","type":3,"api":"https://git.yylx.win/https://raw.githubusercontent.com/fantaiying7/EXT/refs/heads/main/drpy2.js","ext":"https://git.yylx.win/https://raw.githubusercontent.com/fantaiying7/EXT/refs/heads/main/huya2.js","style":{"type":"rect","ratio":1.755},"timeout":10,"playerType":"2","searchable":0,"quickSearch":0,"changeable":0},
|
||||
{"key":"斗鱼","name":"🐟斗鱼直播","type":3,"api":"./js/lib/drpy2.min.js","ext":"./js/斗鱼直播.js","style":{"type":"rect","ratio":1.755},"playerType":"2","searchable":0,"quickSearch":0,"changeable":0},
|
||||
{"key":"有声小说吧","name":"📚有声小说吧","type":3,"api":"./js/lib/drpy2.min.js","playerType":"2","searchable":0,"quickSearch":0,"filterable":0,"ext":"./js/有声小说吧.js"},
|
||||
{"key":"哔哩","name":"🅱️哔哩哔哩","type":3,"api":"csp_Bili","searchable":1,"quickSearch":1,"filterable":1,"style":{"type":"rect","ratio":1.433},"ext":{"json":"./json/Bili.json","cookie":""}},
|
||||
|
||||
63
潇洒/api.json
63
潇洒/api.json
@@ -78,6 +78,69 @@
|
||||
"name": "火猫影视"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "羊羊",
|
||||
"name": "羊羊|APP",
|
||||
"type": 3,
|
||||
"searchable": 1,
|
||||
"changeable": 1,
|
||||
"api": "csp_AppMuou",
|
||||
"ext": {
|
||||
"url": "https://ht.zhenxun.love",
|
||||
"name": "羊羊学院"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "思念",
|
||||
"name": "思念|APP",
|
||||
"type": 3,
|
||||
"api": "csp_AppFox",
|
||||
"ext": {
|
||||
"host": "https://snys2.xyz",
|
||||
"timeout": 15,
|
||||
"ver": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "星空",
|
||||
"name": "星空|APP",
|
||||
"type": 3,
|
||||
"api": "csp_AppFox",
|
||||
"ext": {
|
||||
"host": "http://fox.qwqfun.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "极兔",
|
||||
"name": "极兔|APP",
|
||||
"type": 3,
|
||||
"api": "csp_AppFox",
|
||||
"ext": {
|
||||
"host": "http://www.mzd.asia"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "二三",
|
||||
"name": "二三|APP",
|
||||
"type": 3,
|
||||
"api": "csp_AppFox",
|
||||
"ext": {
|
||||
"host": "http://a.cfys.xn--fiqs8s"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "金牌",
|
||||
"name": "金牌┃APP",
|
||||
"type": 3,
|
||||
"searchable": 1,
|
||||
"changeable": 1,
|
||||
"api": "csp_AppQi",
|
||||
"ext": {
|
||||
"site": "https://dtqj1.gg1080.com:443/dtjp.txt",
|
||||
"dataKey": "kecbio48dsq131ed",
|
||||
"dataIv": "kecbio48dsq131ed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "咖啡",
|
||||
"name": "咖啡丨APP",
|
||||
|
||||
109
潇洒/py/爱看短剧.py
109
潇洒/py/爱看短剧.py
@@ -1,109 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# by @嗷呜
|
||||
import json
|
||||
import sys
|
||||
from pyquery import PyQuery as pq
|
||||
sys.path.append('..')
|
||||
from base.spider import Spider
|
||||
|
||||
class Spider(Spider):
|
||||
|
||||
def init(self, extend=""):
|
||||
pass
|
||||
|
||||
def getName(self):
|
||||
pass
|
||||
|
||||
def isVideoFormat(self, url):
|
||||
pass
|
||||
|
||||
def manualVideoCheck(self):
|
||||
pass
|
||||
|
||||
def destroy(self):
|
||||
pass
|
||||
|
||||
host='http://www.toule.top'
|
||||
|
||||
headers = {
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36',
|
||||
'Referer':f'{host}/',
|
||||
'Origin':host
|
||||
}
|
||||
|
||||
def homeContent(self, filter):
|
||||
data=self.getpq()
|
||||
result = {}
|
||||
classes = []
|
||||
for k in data('.swiper-wrapper .swiper-slide').items():
|
||||
classes.append({
|
||||
'type_name': k.text(),
|
||||
'type_id': k.text()
|
||||
})
|
||||
result['class'] = classes
|
||||
result['list'] = self.getlist(data('.container.items ul li'))
|
||||
return result
|
||||
|
||||
def homeVideoContent(self):
|
||||
pass
|
||||
|
||||
def categoryContent(self, tid, pg, filter, extend):
|
||||
data=self.getpq(f"/index.php/vod/show/class/{tid}/id/1/page/{pg}.html")
|
||||
result = {}
|
||||
result['list'] = self.getlist(data('.container.items ul li'))
|
||||
result['page'] = pg
|
||||
result['pagecount'] = 9999
|
||||
result['limit'] = 90
|
||||
result['total'] = 999999
|
||||
return result
|
||||
|
||||
def detailContent(self, ids):
|
||||
data=self.getpq(ids[0])
|
||||
v=data('.container.detail-content')
|
||||
vod = {
|
||||
'vod_remarks': v('.items-tags a').text(),
|
||||
'vod_content': v('.text-content .detail').text(),
|
||||
'vod_play_from': '爱看短剧',
|
||||
'vod_play_url': '#'.join([f"{i.text()}${i('a').attr('href')}" for i in data('.swiper-wrapper .swiper-slide').items()])
|
||||
}
|
||||
return {'list':[vod]}
|
||||
|
||||
def searchContent(self, key, quick, pg="1"):
|
||||
data=self.getpq(f"/index.php/vod/search/page/{pg}/wd/{key}.html")
|
||||
return {'list':self.getlist(data('.container.items ul li')),'page':pg}
|
||||
|
||||
def playerContent(self, flag, id, vipFlags):
|
||||
data=self.getpq(id)
|
||||
try:
|
||||
jstr=data('.player-content script').eq(0).text()
|
||||
jt=json.loads(jstr.split('=',1)[-1])
|
||||
p,url=0,jt['url']
|
||||
except Exception as e:
|
||||
print(f"获取播放地址失败: {e}")
|
||||
p,url=1,f'{self.host}{id}'
|
||||
return {'parse': p, 'url': url, 'header': self.headers}
|
||||
|
||||
def localProxy(self, param):
|
||||
pass
|
||||
|
||||
def liveContent(self, url):
|
||||
pass
|
||||
|
||||
def getpq(self, path=''):
|
||||
data=self.fetch(f"{self.host}{path}",headers=self.headers).text
|
||||
try:
|
||||
return pq(data)
|
||||
except Exception as e:
|
||||
print(f"{str(e)}")
|
||||
return pq(data.encode('utf-8'))
|
||||
|
||||
def getlist(self,data):
|
||||
videos = []
|
||||
for i in data.items():
|
||||
videos.append({
|
||||
'vod_id': i('.image-line').attr('href'),
|
||||
'vod_name': i('img').attr('alt'),
|
||||
'vod_pic': i('img').attr('src'),
|
||||
'vod_remarks': i('.remarks.light').text()
|
||||
})
|
||||
return videos
|
||||
BIN
潇洒/spider.jar
BIN
潇洒/spider.jar
Binary file not shown.
Reference in New Issue
Block a user