Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_38022367
dr_py
提交
dd23670c
dr_py
项目概览
qq_38022367
/
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,发现更多精彩内容 >>
提交
dd23670c
编写于
12月 14, 2022
作者:
H
hjdhnx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复了几个源
上级
e40d25c9
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
104 addition
and
44 deletion
+104
-44
js/version.txt
js/version.txt
+1
-1
js/九酷.js
js/九酷.js
+14
-0
js/小猫咪.js
js/小猫咪.js
+9
-5
js/有声小说吧.js
js/有声小说吧.js
+16
-10
js/海外看影院.js
js/海外看影院.js
+9
-20
js/莫扎兔.js
js/莫扎兔.js
+11
-8
py/九酷.py
py/九酷.py
+33
-0
py/九酷一级.js
py/九酷一级.js
+11
-0
未找到文件。
js/version.txt
浏览文件 @
dd23670c
3.9.31beta3
\ No newline at end of file
3.9.31beta4
\ No newline at end of file
js/九酷.js
0 → 100644
浏览文件 @
dd23670c
var
rule
=
{
title
:
'
九酷
'
,
host
:
'
https://jiuku.site
'
,
homeUrl
:
''
,
searchUrl
:
''
,
searchable
:
1
,
quickSearch
:
1
,
filterable
:
1
,
headers
:{
'
User-Agent
'
:
'
MOBILE_UA
'
,
'
Cookie
'
:
'
ecPopup=1
'
},
// 分类链接fypage参数支持1个()表达式
url
:
'
/index.php/api/vod#type=fyclass&page=fypage&time=1670922043&key=8b217b963c185115ad035883ef449788
'
,
一级
:
''
}
\ No newline at end of file
js/小猫咪.js
浏览文件 @
dd23670c
muban
.
海螺3
.
二级
.
content
=
'
.hl-infos-content&&Text
'
;
var
rule
=
Object
.
assign
(
muban
.
海螺3
,{
muban
.
海螺3
.
二级
.
desc
=
'
;;;.hl-full-box .hl-col-xs-12:eq(3)&&Text;.hl-full-box .hl-col-xs-12:eq(4)&&Text
'
;
muban
.
海螺3
.
二级
.
content
=
'
.hl-col-xs-12.blurb&&Text
'
;
var
rule
=
{
title
:
'
小猫咪
'
,
host
:
'
https://xmaomi.net
'
,
});
\ No newline at end of file
模板
:
'
海螺3
'
,
// host:'https://xmaomi.net',
host
:
'
https://xmaomi.top
'
,
url
:
'
/vod___________show/fyclass--------fypage---.html
'
,
}
\ No newline at end of file
js/有声小说吧.js
浏览文件 @
dd23670c
...
...
@@ -10,21 +10,26 @@ var rule = {
'
User-Agent
'
:
'
MOBILE_UA
'
},
timeout
:
5000
,
// homeUrl:'/fenlei/',
// class_parse: '.pd-class:eq(0) dd;a&&Text;a&&href;.*/(.*?).html',
class_name
:
'
网络玄幻&恐怖悬疑&传统武侠&都市言情&官场刑侦&历史军事&探险盗墓&职场商战&明朝那些事儿&评书下载&相声戏曲&人物传记&广播剧&百家讲坛&外语读物&有声文学&儿童读物&管理营销
'
,
class_url
:
'
r52&r17&r12&r13&r14&r15&r45&r81&r36&r3&r7&r16&r18&r32&r35&r41&r4&r6
'
,
play_parse
:
true
,
lazy
:
''
,
limit
:
6
,
double
:
true
,
推荐
:
'
.list-ul;a;.list-name&&Text;img&&data-original;.module-slide-author&&Text;a&&href
'
,
一级
:
'
.book-ol&&li;h4&&Text;img&&data-original;.book-submeta&&Text;a&&href
'
,
二级
:{
title
:
'
h2&&Text
'
,
img
:
'
.bookimg&&img&&data-original
'
,
desc
:
'
.book-rand-a:eq(0)&&Text;.book-rand-a:eq(1)&&Text;.book-rand-a:eq(2)&&Text;.book-rand-a:eq(3)&&Text
'
,
content
:
'
.book_intro&&Text
'
,
tabs
:
'
.list-contitle&&h3
'
,
lists
:
''
,
lists
:
'
js:pd=jsp.pd;let url=pd(html,".bookbutton&&a&&href");log(url);html=request(url);let v=pd(html,".booksite&&script&&Html");var document={};var VideoListJson;VideoListJson=eval(v.split("VideoListJson=")[1].split(",urlinfo")[0]);log(typeof VideoListJson);let list1=VideoListJson[0][1];LISTS=[list1];log(LISTS);
'
,
// 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放)
// lists:'#playlist:eq(#id)&&ul&&li',
lists
:
'
#playlist ul li
'
,
// double:true,
推荐
:
'
.list-ul .list-li;.list-name&&Text;*;.module-slide-author&&Text;*
'
,
一级
:
'
.book-ol&&li;h4&&Text;img&&data-original;.book-meta&&Text;a&&href
'
,
二级
:{
title
:
'
h2&&Text;.book-cell .book-rand-a:eq(2)&&Text
'
,
img
:
'
.book img&&src
'
,
desc
:
'
;;;;.book-des p&&Text
'
,
content
:
'
.book-des&&Text
'
,
tabs
:
'
.playlist-top&&h2
'
,
// lists:'js:pd=jsp.pd;let url=pd(html,".bookbutton&&a&&href");log(url);html=request(url);let v=pd(html,".booksite&&script&&Html");var document={};var VideoListJson;VideoListJson=eval(v.split("VideoListJson=")[1].split(",urlinfo")[0]);log(typeof VideoListJson);let list1=VideoListJson[0][1];LISTS=[list1];log(LISTS);',
// 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放)
// lists:'#playlist:eq(#id)&&ul&&li',
lists
:
'
#playlist ul li
'
,
},
搜索
:
'
*
'
,
}
\ No newline at end of file
js/海外看影院.js
浏览文件 @
dd23670c
muban
.
mxone5
.
二级
.
title
=
'
h1&&Text;.video-info-aux&&Text
'
;
muban
.
mxone5
.
二级
.
desc
=
'
;;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text
'
;
var
rule
=
{
title
:
'
海外看影院
'
,
host
:
'
https://haiwaiys.cc
'
,
模板
:
'
mxone5
'
,
// host: 'https://haiwaiys.cc',
host
:
'
https://www.huale.org
'
,
// url: '/vodshow/fyclass--------fypage---.html',
url
:
'
/vodshow/fyfilter.html
'
,
filterable
:
1
,
//是否启用分类筛选,
...
...
@@ -13,23 +17,7 @@ var rule = {
4
:{
cateId
:
'
4
'
},
21
:{
cateId
:
'
21
'
}
},
searchUrl
:
'
/vodsearch/**----------fypage---.html
'
,
searchable
:
2
,
quickSearch
:
0
,
headers
:
{
'
User-Agent
'
:
'
UC_UA
'
,},
class_name
:
'
电影&电视剧&综艺&动漫&记录片
'
,
class_url
:
'
1&2&3&4&21
'
,
// 推荐:'.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
推荐
:
'
.module-items&&.module-item;*;*;*;*
'
,
一级
:
'
.module-items .module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href
'
,
二级
:
{
"
title
"
:
"
h1&&Text;.tag-link&&Text
"
,
"
img
"
:
"
.module-item-pic&&img&&data-src
"
,
"
desc
"
:
"
.video-info-items:eq(0)&&Text;.video-info-items:eq(1)&&Text;.video-info-items:eq(2)&&Text;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text
"
,
"
content
"
:
"
.vod_content&&Text
"
,
"
tabs
"
:
"
.module-tab-item
"
,
"
lists
"
:
"
.module-player-list:eq(#id)&&.scroll-content&&a
"
},
// 搜索: '.module-items .module-search-item;a&&title;img&&data-src;.video-serial&&Text;a&&href',
搜索
:
'
.module-items .module-search-item;*;*;.video-serial&&Text;*
'
,
searchUrl
:
'
/index.php/ajax/suggest?mid=1&wd=**
'
,
detailUrl
:
'
/voddetail/fyid.html
'
,
//非必填,二级详情拼接链接
搜索
:
'
json:list;name;pic;;id
'
,
}
\ No newline at end of file
js/莫扎兔.js
浏览文件 @
dd23670c
var
rule
=
Object
.
assign
(
muban
.
mxpro
,{
title
:
'
莫扎兔
'
,
host
:
'
https://www.mozhatu.com
'
,
url
:
'
/index.php/vod/show/id/fyclass/page/fypage.html
'
,
searchUrl
:
'
/index.php/vod/search/page/fypage/wd/**.html
'
,
class_parse
:
'
.navbar-items li:gt(2):lt(8);a&&Text;a&&href;.*/(.*?).html
'
,
});
\ No newline at end of file
muban
.
mxpro
.
二级
.
desc
=
'
;;;.module-info-item-content:eq(1)&&Text;.module-info-item-content:eq(0)&&Text
'
;
muban
.
mxpro
.
二级
.
tabs
=
'
#y-playList .module-tab-item
'
;
var
rule
=
{
title
:
'
莫扎兔
'
,
模板
:
'
mxpro
'
,
host
:
'
https://www.mozhatu.com
'
,
url
:
'
/index.php/vod/show/id/fyclass/page/fypage.html
'
,
searchUrl
:
'
/index.php/vod/search/page/fypage/wd/**.html
'
,
class_parse
:
'
.navbar-items li:gt(2):lt(8);a&&Text;a&&href;.*/(.*?).html
'
,
}
\ No newline at end of file
py/九酷.py
0 → 100644
浏览文件 @
dd23670c
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# File : 九酷.py
# Author: DaShenHan&道长-----先苦后甜,任凭晚风拂柳颜------
# Date : 2022/12/14
import
requests
import
time
import
ujson
headers
=
{
'x-requested-with'
:
'XMLHttpRequest'
,
'user-agent'
:
'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1'
,
'Cookie'
:
'ecPopup=1;crisp-client%2Fsession%2Fba128124-8ac1-44d1-8420-98420b4da478=session_8d89f90c-4b46-4895-86d8-03a74770b741'
}
s
=
requests
.
session
()
s
.
get
(
'https://jiuku.site/index.php/vod/type/id/1.html'
)
print
(
s
.
cookies
)
fyclass
=
1
fypage
=
1
tm
=
int
(
time
.
time
())
tm
=
''
print
(
tm
)
data
=
f
'type=
{
fyclass
}
&page=
{
fypage
}
&time=
{
tm
}
1670981084&key=52871810a25aa2ac4675e3c4dfd321c6'
data_dict
=
{}
for
dt
in
data
.
split
(
'&'
):
data_dict
[
dt
.
split
(
'='
)[
0
]]
=
dt
.
split
(
'='
)[
1
]
print
(
data_dict
)
data_dict
=
ujson
.
dumps
(
data_dict
)
r
=
s
.
post
(
'https://jiuku.site/index.php/api/vod'
,
data
=
data_dict
,
headers
=
headers
)
print
(
r
.
text
)
\ No newline at end of file
py/九酷一级.js
0 → 100644
浏览文件 @
dd23670c
js
:
let
body
=
input
.
split
(
'
#
'
)[
1
];
let
url
=
input
.
split
(
'
#
'
)[
0
];
fetch_params
.
body
=
body
;
fetch_params
.
headers
[
'
x-requested-with
'
]
=
'
XMLHttpRequest
'
;
// fetch_params.headers['cookie'] = 'PHPSESSID=e7ht5hvema4sg0o8l1o5k0bqt1; Hm_lvt_eebb854b7348edadfb6b433786f5d059=1666239708; Hm_lpvt_eebb854b7348edadfb6b433786f5d059=1666244071';
let
url
=
input
.
split
(
'
?
'
)[
0
];
let
html
=
post
(
url
,
fetch_params
);
print
(
html
);
let
data
=
JSON
.
parse
(
html
);
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录