Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taokun401
dr_py
提交
9b0c5ece
dr_py
项目概览
taokun401
/
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,发现更多精彩内容 >>
提交
9b0c5ece
编写于
8月 26, 2022
作者:
H
hjdhnx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新了配置文件,首页不报错了
上级
9821d4ca
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
161 addition
and
11 deletion
+161
-11
js/玩偶姐姐.js
js/玩偶姐姐.js
+13
-0
models/cms.py
models/cms.py
+4
-3
pycms.json
pycms.json
+57
-8
pycms_local.json
pycms_local.json
+87
-0
未找到文件。
js/玩偶姐姐.js
0 → 100644
浏览文件 @
9b0c5ece
var
rule
=
{
title
:
'
玩偶姐姐
'
,
url
:
'
https://hongkongdollvideo.com/fyclass/fypage.html
'
,
searchUrl
:
'
/vodsearch/**----------fypage---.html
'
,
ua
:
'
MOBILE_UA
'
,
class_name
:
'
最新&Hongkong Doll&麻豆传媒&91制片厂&天美传媒&蜜桃传媒&皇家华人&星空传媒&精东影业&乐播传媒&成人头条&乌鸦传媒&兔子先生&杏吧原创&mini传媒&大象传媒&开心鬼传媒&PsychoPorn&糖心Vlog
'
,
class_url
:
'
latest&Hongkong Doll&麻豆传媒&91制片厂&天美传媒&蜜桃传媒&皇家华人&星空传媒&精东影业&乐播传媒&成人头条&乌鸦传媒&兔子先生&杏吧原创&mini传媒&大象传媒&开心鬼传媒&PsychoPorn&糖心Vlog
'
,
class_parse
:
'
body&&#side-menu:not(:has(.menu-icons))&&li;
'
,
一级
:
'
.col-sm-6;h3&&Text;img&&data-src;.date&&Text;a&&href
'
,
二级
:{
"
title
"
:
"
h1&&Text;.module-info-tag&&Text
"
,
"
img
"
:
"
.lazyload&&data-original
"
,
"
desc
"
:
"
.module-info-item:eq(1)&&Text;.module-info-item:eq(2)&&Text;.module-info-item:eq(3)&&Text
"
,
"
content
"
:
"
.module-info-introduction&&Text
"
,
"
tabs
"
:
"
.module-tab-item
"
,
"
lists
"
:
"
.module-play-list:eq(#id) a
"
},
搜索
:
'
body .module-item;.module-card-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href;.module-info-item-content&&Text
'
,
}
\ No newline at end of file
models/cms.py
浏览文件 @
9b0c5ece
...
...
@@ -25,6 +25,7 @@ class CMS:
self
.
searchUrl
=
rule
.
get
(
'searchUrl'
,
''
)
self
.
class_name
=
rule
.
get
(
'class_name'
,
''
)
self
.
class_url
=
rule
.
get
(
'class_url'
,
''
)
self
.
class_parse
=
rule
.
get
(
'class_parse'
,
''
)
self
.
一级
=
rule
.
get
(
'一级'
,
''
)
self
.
二级
=
rule
.
get
(
'二级'
,
''
)
self
.
搜索
=
rule
.
get
(
'搜索'
,
''
)
...
...
@@ -245,12 +246,12 @@ class CMS:
if
__name__
==
'__main__'
:
from
utils
import
parser
js_path
=
f
'js/
鸭奈飞
.js'
js_path
=
f
'js/
玩偶姐姐
.js'
ctx
,
js_code
=
parser
.
runJs
(
js_path
)
rule
=
ctx
.
eval
(
'rule'
)
cms
=
CMS
(
rule
)
print
(
cms
.
title
)
#
print(cms.homeContent())
print
(
cms
.
homeContent
())
# cms.categoryContent('dianying',1)
# print(cms.detailContent(['67391']))
print
(
cms
.
searchContent
(
'斗罗大陆'
))
\ No newline at end of file
# print(cms.searchContent('斗罗大陆'))
\ No newline at end of file
pycms.json
浏览文件 @
9b0c5ece
{
"sites"
:[{
{
"sites"
:[
{
"key"
:
"dr_yanaifei"
,
"name"
:
"鸭奈飞"
,
"name"
:
"鸭奈飞
(道长)
"
,
"type"
:
1
,
"api"
:
"http://cms.nokia.press/vod?rule=鸭奈飞
&ext=https://gitcode.net/qq_32394351/dr_py/-/raw/master/js/鸭奈飞.js
"
,
"api"
:
"http://cms.nokia.press/vod?rule=鸭奈飞"
,
"searchable"
:
1
,
"quickSearch"
:
1
,
"filterable"
:
1
},
{
"key"
:
"dr_lmys"
,
"name"
:
"蓝莓影视"
,
"name"
:
"蓝莓影视
(道长)
"
,
"type"
:
1
,
"api"
:
"http://cms.nokia.press/vod?rule=蓝莓影视
&ext=https://gitcode.net/qq_32394351/dr_py/-/raw/master/js/蓝莓影视.js
"
,
"api"
:
"http://cms.nokia.press/vod?rule=蓝莓影视"
,
"searchable"
:
0
,
"quickSearch"
:
0
,
"filterable"
:
1
},
{
"key"
:
"dr_555"
,
"name"
:
"555影视"
,
"name"
:
"555影视
(道长)
"
,
"type"
:
1
,
"api"
:
"http://cms.nokia.press/vod?rule=555影视
&ext=https://gitcode.net/qq_32394351/dr_py/-/raw/master/js/555影视.js
"
,
"api"
:
"http://cms.nokia.press/vod?rule=555影视"
,
"searchable"
:
1
,
"quickSearch"
:
1
,
"filterable"
:
1
}
]
],
"parses"
:[
{
"name"
:
"解析聚合"
,
"type"
:
3
,
"url"
:
"Demo"
},
{
"name"
:
"Json并发"
,
"type"
:
2
,
"url"
:
"Parallel"
},
{
"name"
:
"Json轮询"
,
"type"
:
2
,
"url"
:
"Sequence"
},
{
"name"
:
"油果"
,
"type"
:
1
,
"url"
:
"http://json.youguo520.top/fufeng/?url="
,
"ext"
:{
"flag"
:[
"qiyi"
,
"爱奇艺"
,
"奇艺"
,
"qq"
,
"腾讯"
,
"youku"
,
"优酷"
,
"pptv"
,
"PPTV"
,
"letv"
,
"乐视"
,
"bilibili"
,
"哔哩哔哩"
,
"哔哩"
,
"mgtv"
,
"芒果"
],
"header"
:{
"User-Agent"
:
"Dart/2.14 (dart:io)"
}}},
{
"name"
:
"江湖"
,
"type"
:
1
,
"url"
:
"http://jx.vipmv.co/?url="
,
"ext"
:{
"flag"
:[
"qq"
,
"qiyi"
,
"mgtv"
,
"youku"
,
"letv"
,
"sohu"
,
"xigua"
,
"cntv"
,
"1905"
],
"header"
:{
"User-Agent"
:
"Dart/2.14 (dart:io)"
}}}
],
"flags"
:[
"youku"
,
"qq"
,
"iqiyi"
,
"qiyi"
,
"letv"
,
"sohu"
,
"tudou"
,
"pptv"
,
"mgtv"
,
"wasu"
,
"bilibili"
,
"renrenmi"
],
"ijk"
:[
{
"group"
:
"软解码"
,
"options"
:[
{
"category"
:
4
,
"name"
:
"opensles"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"overlay-format"
,
"value"
:
"842225234"
},
{
"category"
:
4
,
"name"
:
"framedrop"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"soundtouch"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"start-on-prepared"
,
"value"
:
"1"
},
{
"category"
:
1
,
"name"
:
"http-detect-range-support"
,
"value"
:
"0"
},
{
"category"
:
1
,
"name"
:
"fflags"
,
"value"
:
"fastseek"
},
{
"category"
:
2
,
"name"
:
"skip_loop_filter"
,
"value"
:
"48"
},
{
"category"
:
4
,
"name"
:
"reconnect"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"enable-accurate-seek"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec-auto-rotate"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec-handle-resolution-change"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec-hevc"
,
"value"
:
"0"
},
{
"category"
:
1
,
"name"
:
"dns_cache_timeout"
,
"value"
:
"600000000"
}
]},
{
"group"
:
"硬解码"
,
"options"
:[
{
"category"
:
4
,
"name"
:
"opensles"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"overlay-format"
,
"value"
:
"842225234"
},
{
"category"
:
4
,
"name"
:
"framedrop"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"soundtouch"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"start-on-prepared"
,
"value"
:
"1"
},
{
"category"
:
1
,
"name"
:
"http-detect-range-support"
,
"value"
:
"0"
},
{
"category"
:
1
,
"name"
:
"fflags"
,
"value"
:
"fastseek"
},
{
"category"
:
2
,
"name"
:
"skip_loop_filter"
,
"value"
:
"48"
},
{
"category"
:
4
,
"name"
:
"reconnect"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"enable-accurate-seek"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"mediacodec-auto-rotate"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"mediacodec-handle-resolution-change"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"mediacodec-hevc"
,
"value"
:
"1"
},
{
"category"
:
1
,
"name"
:
"dns_cache_timeout"
,
"value"
:
"600000000"
}
]}
],
"ads"
:[
"mimg.0c1q0l.cn"
,
"www.googletagmanager.com"
,
"www.google-analytics.com"
,
"mc.usihnbcq.cn"
,
"mg.g1mm3d.cn"
,
"mscs.svaeuzh.cn"
,
"cnzz.hhttm.top"
,
"tp.vinuxhome.com"
,
"cnzz.mmstat.com"
,
"www.baihuillq.com"
,
"s23.cnzz.com"
,
"z3.cnzz.com"
,
"c.cnzz.com"
,
"stj.v1vo.top"
,
"z12.cnzz.com"
,
"img.mosflower.cn"
,
"tips.gamevvip.com"
,
"ehwe.yhdtns.com"
,
"xdn.cqqc3.com"
,
"www.jixunkyy.cn"
,
"sp.chemacid.cn"
,
"hm.baidu.com"
,
"s9.cnzz.com"
,
"z6.cnzz.com"
,
"um.cavuc.com"
,
"mav.mavuz.com"
,
"wofwk.aoidf3.com"
,
"z5.cnzz.com"
,
"xc.hubeijieshikj.cn"
,
"tj.tianwenhu.com"
,
"xg.gars57.cn"
,
"k.jinxiuzhilv.com"
,
"cdn.bootcss.com"
,
"ppl.xunzhuo123.com"
,
"xomk.jiangjunmh.top"
,
"img.xunzhuo123.com"
,
"z1.cnzz.com"
,
"s13.cnzz.com"
,
"xg.huataisangao.cn"
,
"z7.cnzz.com"
,
"xg.huataisangao.cn"
,
"z2.cnzz.com"
,
"s96.cnzz.com"
,
"q11.cnzz.com"
,
"thy.dacedsfa.cn"
,
"xg.whsbpw.cn"
,
"s19.cnzz.com"
,
"z8.cnzz.com"
,
"s4.cnzz.com"
,
"f5w.as12df.top"
,
"ae01.alicdn.com"
,
"www.92424.cn"
,
"k.wudejia.com"
,
"vivovip.mmszxc.top"
,
"qiu.xixiqiu.com"
,
"cdnjs.hnfenxun.com"
,
"cms.qdwght.com"
]
}
\ No newline at end of file
pycms_local.json
0 → 100644
浏览文件 @
9b0c5ece
{
"sites"
:[
{
"key"
:
"dr_yanaifei"
,
"name"
:
"鸭奈飞(道长)"
,
"type"
:
1
,
"api"
:
"http://192.168.10.99:5705/vod?rule=鸭奈飞"
,
"searchable"
:
1
,
"quickSearch"
:
1
,
"filterable"
:
1
},
{
"key"
:
"dr_lmys"
,
"name"
:
"蓝莓影视(道长)"
,
"type"
:
1
,
"api"
:
"http://192.168.10.99:5705/vod?rule=蓝莓影视"
,
"searchable"
:
0
,
"quickSearch"
:
0
,
"filterable"
:
1
},
{
"key"
:
"dr_555"
,
"name"
:
"555影视(道长)"
,
"type"
:
1
,
"api"
:
"http://192.168.10.99:5705/vod?rule=555影视"
,
"searchable"
:
1
,
"quickSearch"
:
1
,
"filterable"
:
1
},
{
"key"
:
"dr_wojj"
,
"name"
:
"玩偶姐姐(道长)"
,
"type"
:
1
,
"api"
:
"http://192.168.10.99:5705/vod?rule=玩偶姐姐"
,
"searchable"
:
1
,
"quickSearch"
:
1
,
"filterable"
:
1
}
],
"parses"
:[
{
"name"
:
"解析聚合"
,
"type"
:
3
,
"url"
:
"Demo"
},
{
"name"
:
"Json并发"
,
"type"
:
2
,
"url"
:
"Parallel"
},
{
"name"
:
"Json轮询"
,
"type"
:
2
,
"url"
:
"Sequence"
},
{
"name"
:
"油果"
,
"type"
:
1
,
"url"
:
"http://json.youguo520.top/fufeng/?url="
,
"ext"
:{
"flag"
:[
"qiyi"
,
"爱奇艺"
,
"奇艺"
,
"qq"
,
"腾讯"
,
"youku"
,
"优酷"
,
"pptv"
,
"PPTV"
,
"letv"
,
"乐视"
,
"bilibili"
,
"哔哩哔哩"
,
"哔哩"
,
"mgtv"
,
"芒果"
],
"header"
:{
"User-Agent"
:
"Dart/2.14 (dart:io)"
}}},
{
"name"
:
"江湖"
,
"type"
:
1
,
"url"
:
"http://jx.vipmv.co/?url="
,
"ext"
:{
"flag"
:[
"qq"
,
"qiyi"
,
"mgtv"
,
"youku"
,
"letv"
,
"sohu"
,
"xigua"
,
"cntv"
,
"1905"
],
"header"
:{
"User-Agent"
:
"Dart/2.14 (dart:io)"
}}}
],
"flags"
:[
"youku"
,
"qq"
,
"iqiyi"
,
"qiyi"
,
"letv"
,
"sohu"
,
"tudou"
,
"pptv"
,
"mgtv"
,
"wasu"
,
"bilibili"
,
"renrenmi"
],
"ijk"
:[
{
"group"
:
"软解码"
,
"options"
:[
{
"category"
:
4
,
"name"
:
"opensles"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"overlay-format"
,
"value"
:
"842225234"
},
{
"category"
:
4
,
"name"
:
"framedrop"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"soundtouch"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"start-on-prepared"
,
"value"
:
"1"
},
{
"category"
:
1
,
"name"
:
"http-detect-range-support"
,
"value"
:
"0"
},
{
"category"
:
1
,
"name"
:
"fflags"
,
"value"
:
"fastseek"
},
{
"category"
:
2
,
"name"
:
"skip_loop_filter"
,
"value"
:
"48"
},
{
"category"
:
4
,
"name"
:
"reconnect"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"enable-accurate-seek"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec-auto-rotate"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec-handle-resolution-change"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec-hevc"
,
"value"
:
"0"
},
{
"category"
:
1
,
"name"
:
"dns_cache_timeout"
,
"value"
:
"600000000"
}
]},
{
"group"
:
"硬解码"
,
"options"
:[
{
"category"
:
4
,
"name"
:
"opensles"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"overlay-format"
,
"value"
:
"842225234"
},
{
"category"
:
4
,
"name"
:
"framedrop"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"soundtouch"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"start-on-prepared"
,
"value"
:
"1"
},
{
"category"
:
1
,
"name"
:
"http-detect-range-support"
,
"value"
:
"0"
},
{
"category"
:
1
,
"name"
:
"fflags"
,
"value"
:
"fastseek"
},
{
"category"
:
2
,
"name"
:
"skip_loop_filter"
,
"value"
:
"48"
},
{
"category"
:
4
,
"name"
:
"reconnect"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"enable-accurate-seek"
,
"value"
:
"0"
},
{
"category"
:
4
,
"name"
:
"mediacodec"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"mediacodec-auto-rotate"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"mediacodec-handle-resolution-change"
,
"value"
:
"1"
},
{
"category"
:
4
,
"name"
:
"mediacodec-hevc"
,
"value"
:
"1"
},
{
"category"
:
1
,
"name"
:
"dns_cache_timeout"
,
"value"
:
"600000000"
}
]}
],
"ads"
:[
"mimg.0c1q0l.cn"
,
"www.googletagmanager.com"
,
"www.google-analytics.com"
,
"mc.usihnbcq.cn"
,
"mg.g1mm3d.cn"
,
"mscs.svaeuzh.cn"
,
"cnzz.hhttm.top"
,
"tp.vinuxhome.com"
,
"cnzz.mmstat.com"
,
"www.baihuillq.com"
,
"s23.cnzz.com"
,
"z3.cnzz.com"
,
"c.cnzz.com"
,
"stj.v1vo.top"
,
"z12.cnzz.com"
,
"img.mosflower.cn"
,
"tips.gamevvip.com"
,
"ehwe.yhdtns.com"
,
"xdn.cqqc3.com"
,
"www.jixunkyy.cn"
,
"sp.chemacid.cn"
,
"hm.baidu.com"
,
"s9.cnzz.com"
,
"z6.cnzz.com"
,
"um.cavuc.com"
,
"mav.mavuz.com"
,
"wofwk.aoidf3.com"
,
"z5.cnzz.com"
,
"xc.hubeijieshikj.cn"
,
"tj.tianwenhu.com"
,
"xg.gars57.cn"
,
"k.jinxiuzhilv.com"
,
"cdn.bootcss.com"
,
"ppl.xunzhuo123.com"
,
"xomk.jiangjunmh.top"
,
"img.xunzhuo123.com"
,
"z1.cnzz.com"
,
"s13.cnzz.com"
,
"xg.huataisangao.cn"
,
"z7.cnzz.com"
,
"xg.huataisangao.cn"
,
"z2.cnzz.com"
,
"s96.cnzz.com"
,
"q11.cnzz.com"
,
"thy.dacedsfa.cn"
,
"xg.whsbpw.cn"
,
"s19.cnzz.com"
,
"z8.cnzz.com"
,
"s4.cnzz.com"
,
"f5w.as12df.top"
,
"ae01.alicdn.com"
,
"www.92424.cn"
,
"k.wudejia.com"
,
"vivovip.mmszxc.top"
,
"qiu.xixiqiu.com"
,
"cdnjs.hnfenxun.com"
,
"cms.qdwght.com"
]
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录