Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
夏至溪檐
dr_py
提交
95d4fcc6
dr_py
项目概览
夏至溪檐
/
dr_py
与 Fork 源项目一致
Fork自
晚风拂柳颜 / dr_py
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
dr_py
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
95d4fcc6
编写于
9月 08, 2022
作者:
H
hjdhnx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加奇珍异兽源(无首页)
上级
37ce0a32
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
103 addition
and
3 deletion
+103
-3
js/version.txt
js/version.txt
+1
-1
js/奇珍异兽.js
js/奇珍异兽.js
+4
-2
py/爱奇艺二级.js
py/爱奇艺二级.js
+97
-0
readme.md
readme.md
+1
-0
未找到文件。
js/version.txt
浏览文件 @
95d4fcc6
3.2.9
\ No newline at end of file
3.3.0
\ No newline at end of file
js/奇珍异兽.js
浏览文件 @
95d4fcc6
...
...
@@ -18,14 +18,15 @@ var rule = {
limit
:
20
,
// play_parse:true,
// 手动调用解析请求json的url,此lazy不方便
lazy
:
'
js:input="https://cache.json.icu/home/api?type=ys&uid=292796&key=fnoryABDEFJNPQV269&url="+input.split("?")[0];log(input);let html=JSON.parse(request(input));log(html);input=html.url||input
'
,
//
lazy:'js:input="https://cache.json.icu/home/api?type=ys&uid=292796&key=fnoryABDEFJNPQV269&url="+input.split("?")[0];log(input);let html=JSON.parse(request(input));log(html);input=html.url||input',
// 推荐:'.list_item;img&&alt;img&&src;a&&Text;a&&data-float',
// 一级:'json:.data.list;.name;.imageUrl;.latestOrder;.albumId',
一级
:
'
js:let d=[];if(cateID==="16"){input=input.replace("channel_id=16","channel_id=1").split("three_category_id")[0];input+="three_category_id=27401"}else if(cateID==="5"){input=input.replace("data_type=1","data_type=2")}let html=request(input);let json=JSON.parse(html);if(json.code==="A00003"){fetch_params.headers["user-agent"]=PC_UA;json=JSON.parse(fetch(input,fetch_params))}json.data.list.forEach(function(data){if(data.channelId===1){desc=data.hasOwnProperty("score")?data.score+"分
\\
t":""}else if(data.channelId===2||data.channelId===4){if(data.latestOrder===data.videoCount){desc=(data.hasOwnProperty("score")?data.score+"分
\\
t":"")+data.latestOrder+"集全"}else{if(data.videoCount){desc=(data.hasOwnProperty("score")?data.score+"分
\\
t":"")+data.latestOrder+"/"+data.videoCount+"集"}else{desc="更新至 "+data.latestOrder+"集"}}}else if(data.channelId===6){desc=data.period+"期"}else if(data.channelId===5){desc=data.focus}else{if(data.latestOrder){desc="更新至 第"+data.latestOrder+"期"}else if(data.period){desc=data.period}else{desc=data.focus}}url=cateID+"$"+data.albumId;d.push({url:url,title:data.name,desc:desc,pic_url:data.imageUrl.replace(".jpg","_390_520.jpg?caplist=jpg,webp")})});setResult(d);
'
,
// 一级:'js:let d=[];if(cateID==="16"){input=input.replace("channel_id=16","channel_id=1").split("three_category_id")[0];input+="three_category_id=27401"}else if(cateID==="5"){input=input.replace("data_type=1","data_type=2")}let html=fetch(input,fetch_params);let json=JSON.parse(html);if(json.code==="A00003"){fetch_params.headers["user-agent"]=PC_UA;json=JSON.parse(fetch(input,fetch_params))}json.data.list.forEach(function(data){if(data.channelId===1){desc=data.hasOwnProperty("score")?data.score+"分\\t":""}else if(data.channelId===2||data.channelId===4){if(data.latestOrder===data.videoCount){desc=(data.hasOwnProperty("score")?data.score+"分\\t":"")+data.latestOrder+"集全"}else{if(data.videoCount){desc=(data.hasOwnProperty("score")?data.score+"分\\t":"")+data.latestOrder+"/"+data.videoCount+"集"}else{desc="更新至 "+data.latestOrder+"集"}}}else if(data.channelId===6){desc=data.period+"期"}else if(data.channelId===5){desc=data.focus}else{if(data.latestOrder){desc="更新至 第"+data.latestOrder+"期"}else if(data.period){desc=data.period}else{desc=data.focus}}url=cateID+"$"+data.albumId;d.push({url:url,title:data.name,desc:desc,pic_url:data.imageUrl.replace(".jpg","_390_520.jpg?caplist=jpg,webp")})});setResult(d);',
// 一级:'json:.data.list;.name;.imageUrl;.playUrl;.latestOrder',
// 二级:{is_json:1,"title":"data.title;data.moviecategory[0]+data.moviecategory[1]","img":"data.cdncover","desc":"data.area[0];data.director[0]","content":"data.description","tabs":"data.playlink_sites;data.playlinksdetail.#idv.quality","lists":"data.playlinksdetail.#idv.default_url"},
二级
:{
is_json
:
1
,
"
title
"
:
"
data.name+data.subtitle;data.latestOrder
"
,
"
img
"
:
"
data.imageUrl
"
,
"
desc
"
:
"
data.categories;data.areas
"
,
"
content
"
:
"
data.description
"
,
"
tabs
"
:
"
data.name
"
,
"
lists
"
:
"
data.playlinksdetail.#idv.default_url
"
},
//
二级:{is_json:1,"title":"data.name+data.subtitle;data.latestOrder","img":"data.imageUrl","desc":"data.categories;data.areas","content":"data.description","tabs":"data.name","lists":"data.playlinksdetail.#idv.default_url"},
// 二级:'',
二级
:
'
js:let d=[];let html=request(input);let json=JSON.parse(html).data;vod={vod_id:"",vod_url:input,vod_name:"",type_name:"",vod_actor:"",vod_year:"",vod_director:"",vod_area:"",vod_content:"",vod_remarks:"",vod_pic:""};vod.vod_name=json.name;try{if(json.latestOrder){vod.vod_remarks="类型: "+(json.categories[0].name||"")+"
\\
t"+(json.categories[1].name||"")+"
\\
t"+(json.categories[2].name||"")+"
\\
t"+"评分:"+(json.score||"")+"
\\
n更新至:第"+json.latestOrder+"集(期)/共"+json.videoCount+"集(期)"}else{vod.vod_remarks="类型: "+(json.categories[0].name||"")+"
\\
t"+(json.categories[1].name||"")+"
\\
t"+(json.categories[2].name||"")+"
\\
t"+"评分:"+(json.score||"")+json.period}}catch(e){vod.vod_remarks=json.subtitle}vod.vod_area=(json.focus||"")+"
\\
n资费:"+(json.payMark===1?"VIP":"免费")+"
\\
n地区:"+(json.areas||"");let vsize="579_772";try{vsize=json.imageSize[12]}catch(e){}vod.vod_pic=json.imageUrl.replace(".jpg","_"+vsize+".jpg?caplist=jpg,webp");vod.type_name=json.categories.map(function(it){return it.name}).join(",");if(json.people.main_charactor){vod_actors=[];json.people.main_charactor.forEach(function(it){vod_actors.push(it.name)});vod.vod_actor=vod_actors.join(",")}vod.vod_content=json.description;let playlists=[];if(json.channelId===1||json.channelId===5){playlists=[{playUrl:json.playUrl,imageUrl:json.imageUrl,shortTitle:json.shortTitle,focus:json.focus,period:json.period}]}else{if(json.channelId===6){let qs=json.period.split("-")[0];let listUrl="https://pcw-api.iqiyi.com/album/source/svlistinfo?cid=6&sourceid="+json.albumId+"&timelist="+qs;let playData=JSON.parse(request(listUrl)).data[qs];playData.forEach(function(it){playlists.push({playUrl:it.playUrl,imageUrl:it.imageUrl,shortTitle:it.shortTitle,focus:it.focus,period:it.period})})}else{let listUrl="https://pcw-api.iqiyi.com/albums/album/avlistinfo?aid="+json.albumId+"&size=200&page=1";let data=JSON.parse(request(listUrl)).data;let total=data.total;playlists=data.epsodelist;if(total>200){for(let i=2;i<total/200+1;i++){let listUrl="https://pcw-api.iqiyi.com/albums/album/avlistinfo?aid="+json.albumId+"&size=200&page="+i;let data=JSON.parse(request(listUrl)).data;playlists=playlists.concat(data.epsodelist)}}}}playlists.forEach(function(it){d.push({title:it.shortTitle||"第"+it.order+"集",desc:it.subtitle||it.focus||it.period,img:it.imageUrl.replace(".jpg","_480_270.jpg?caplist=jpg,webp"),url:it.playUrl})});vod.vod_play_from="qiyi";vod.vod_play_url=d.map(function(it){return it.title+"$"+it.url}).join("#");
'
,
搜索
:
'
json:.data.docinfos;.albumDocInfo.albumTitle;.albumDocInfo.albumVImage;.albumDocInfo.channel;.albumDocInfo.albumId;.albumDocInfo.tvFocus
'
,
}
\ No newline at end of file
py/爱奇艺二级.js
0 → 100644
浏览文件 @
95d4fcc6
js
:
let
d
=
[];
let
html
=
request
(
input
);
let
json
=
JSON
.
parse
(
html
).
data
;
vod
=
{
vod_id
:
''
,
vod_url
:
input
,
vod_name
:
''
,
type_name
:
''
,
vod_actor
:
''
,
vod_year
:
''
,
vod_director
:
''
,
vod_area
:
''
,
vod_content
:
''
,
vod_remarks
:
''
,
vod_pic
:
''
,
};
vod
.
vod_name
=
json
.
name
;
try
{
if
(
json
.
latestOrder
)
{
vod
.
vod_remarks
=
"
类型:
"
+
(
json
.
categories
[
0
].
name
||
""
)
+
"
\t
"
+
(
json
.
categories
[
1
].
name
||
""
)
+
"
\t
"
+
(
json
.
categories
[
2
].
name
||
""
)
+
"
\t
"
+
'
评分:
'
+
(
json
.
score
||
""
)
+
"
\n
更新至:第
"
+
json
.
latestOrder
+
"
集(期)/共
"
+
json
.
videoCount
+
"
集(期)
"
;
}
else
{
vod
.
vod_remarks
=
"
类型:
"
+
(
json
.
categories
[
0
].
name
||
""
)
+
"
\t
"
+
(
json
.
categories
[
1
].
name
||
""
)
+
"
\t
"
+
(
json
.
categories
[
2
].
name
||
""
)
+
"
\t
"
+
'
评分:
'
+
(
json
.
score
||
""
)
+
json
.
period
;
}
}
catch
(
e
)
{
vod
.
vod_remarks
=
json
.
subtitle
;
}
vod
.
vod_area
=
(
json
.
focus
||
""
)
+
"
\n
资费:
"
+
(
json
.
payMark
===
1
?
"
VIP
"
:
"
免费
"
)
+
"
\n
地区:
"
+
((
json
.
areas
)
||
""
);
let
vsize
=
'
579_772
'
try
{
vsize
=
json
.
imageSize
[
12
];
}
catch
(
e
)
{}
vod
.
vod_pic
=
json
.
imageUrl
.
replace
(
'
.jpg
'
,
(
'
_
'
+
vsize
+
'
.jpg?caplist=jpg,webp
'
));
// print(vod.vod_pic);
vod
.
type_name
=
json
.
categories
.
map
(
function
(
it
){
return
it
.
name
}).
join
(
'
,
'
);
if
(
json
.
people
.
main_charactor
){
vod_actors
=
[];
json
.
people
.
main_charactor
.
forEach
(
function
(
it
){
vod_actors
.
push
(
it
.
name
);
});
vod
.
vod_actor
=
vod_actors
.
join
(
'
,
'
)
}
vod
.
vod_content
=
json
.
description
;
let
playlists
=
[]
if
(
json
.
channelId
===
1
||
json
.
channelId
===
5
)
{
playlists
=
[{
"
playUrl
"
:
json
.
playUrl
,
"
imageUrl
"
:
json
.
imageUrl
,
//"subtitle": json.subtitle,
"
shortTitle
"
:
json
.
shortTitle
,
"
focus
"
:
json
.
focus
,
"
period
"
:
json
.
period
}]
}
else
{
if
(
json
.
channelId
===
6
)
{
let
qs
=
json
.
period
.
split
(
'
-
'
)[
0
];
let
listUrl
=
"
https://pcw-api.iqiyi.com/album/source/svlistinfo?cid=6&sourceid=
"
+
json
.
albumId
+
"
&timelist=
"
+
qs
;
// print(listUrl);
let
playData
=
JSON
.
parse
(
request
(
listUrl
)).
data
[
qs
];
playData
.
forEach
(
function
(
it
){
playlists
.
push
({
"
playUrl
"
:
it
.
playUrl
,
"
imageUrl
"
:
it
.
imageUrl
,
//"subtitle": it.subtitle,
"
shortTitle
"
:
it
.
shortTitle
,
"
focus
"
:
it
.
focus
,
"
period
"
:
it
.
period
})
});
}
else
{
let
listUrl
=
'
https://pcw-api.iqiyi.com/albums/album/avlistinfo?aid=
'
+
json
.
albumId
+
'
&size=200&page=1
'
;
let
data
=
JSON
.
parse
(
request
(
listUrl
)).
data
;
let
total
=
data
.
total
;
playlists
=
data
.
epsodelist
;
if
(
total
>
200
){
for
(
let
i
=
2
;
i
<
(
total
/
200
)
+
1
;
i
++
){
let
listUrl
=
'
https://pcw-api.iqiyi.com/albums/album/avlistinfo?aid=
'
+
json
.
albumId
+
'
&size=200&page=
'
+
i
;
let
data
=
JSON
.
parse
(
request
(
listUrl
)).
data
;
playlists
=
playlists
.
concat
(
data
.
epsodelist
);
}
}
//log(listUrl)
}
}
playlists
.
forEach
(
function
(
it
){
d
.
push
({
title
:
(
it
.
shortTitle
)
||
(
'
第
'
+
it
.
order
+
'
集
'
),
desc
:
it
.
subtitle
||
it
.
focus
||
it
.
period
,
img
:
it
.
imageUrl
.
replace
(
'
.jpg
'
,
'
_480_270.jpg?caplist=jpg,webp
'
),
url
:
it
.
playUrl
,
});
});
vod
.
vod_play_from
=
'
qiyi
'
;
vod
.
vod_play_url
=
d
.
map
(
function
(
it
){
return
it
.
title
+
'
$
'
+
it
.
url
;
}).
join
(
'
#
'
);
\ No newline at end of file
readme.md
浏览文件 @
95d4fcc6
...
...
@@ -55,6 +55,7 @@
-
[X] 4.增加腾云驾雾源(二级暂未完善,后面再说)
-
[X] 5.完善腾云驾雾源,修复直播下载乱码,修复网站强制证书验证
-
[X] 6.升级到3.2.8,增加两套模板和多个对应源
-
[X] 7.升级到3.3.0,增加奇珍异兽源
###### 2022/09/06
-
[X] 1.增加了后台管理界面在线检测升级系统功能
-
[X] 2.增加了后台管理界面修改直播源地址和同步直播源
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录