Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
muziyicn
dr_py
提交
85f89b82
dr_py
项目概览
muziyicn
/
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,发现更多精彩内容 >>
提交
85f89b82
编写于
10月 23, 2022
作者:
H
hjdhnx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
复活vip解析
上级
84358380
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
13 addition
and
55 deletion
+13
-55
jiexi/vip.js
jiexi/vip.js
+1
-1
jiexi/vip.php
jiexi/vip.php
+9
-52
js/version.txt
js/version.txt
+1
-1
py/php自建解析.py
py/php自建解析.py
+2
-1
未找到文件。
jiexi/vip.js
浏览文件 @
85f89b82
let
jxUrl
=
'
https://
jx.
80k.tv/jxplayer.php?v=
'
;
let
jxUrl
=
'
https://80k.tv/jxplayer.php?v=
'
;
fetch_params
.
headers
.
Referer
=
'
https://1080p.tv
'
;
fetch_params
.
headers
.
Referer
=
'
https://1080p.tv
'
;
fetch_params
.
headers
[
'
User-Agent
'
]
=
MOBILE_UA
;
fetch_params
.
headers
[
'
User-Agent
'
]
=
MOBILE_UA
;
try
{
try
{
...
...
jiexi/vip.php
浏览文件 @
85f89b82
$DATA
=
curl
(
'https://jx.80k.tv/jxplayer.php?v='
.
$_REQUEST
[
'url'
]);
<?php
function
HkWZ
(
$AhyzG
)
{
preg_match
(
'/src="(h.*?)"/'
,
$DATA
,
$url
);
$AhyzG
=
gzinflate
(
base64_decode
(
$AhyzG
));
for
(
$i
=
0
;
$i
<
strlen
(
$AhyzG
);
$i
++
)
if
(
empty
(
$url
[
1
]))
{
{
$add
[
'code'
]
=
404
;
$AhyzG
[
$i
]
=
chr
(
ord
(
$AhyzG
[
$i
])
-
1
);
$add
[
'msg'
]
=
'解析失败'
;
}
$add
[
'from'
]
=
'Q:2579949378'
;
return
$AhyzG
;
$add
[
'name'
]
=
'蓝莓'
;
}
eval
(
HkWZ
(
"pVRtT9tWFP6+/IqrKpLtybMNSSAhQlUKZqASkjpOpw0hyzg3xMWxLdthtFWl0o1CNza6so5qK522taPaVNpuHWvZUv5MbJxfseuXhBBCFWmWZUvn5XnOec65FwD0RKLjGT4DRoFUMxQcq1iWbo7QdJJZpKwl+sqyrohXoUHpFf380ihGRQWOvVRkC/wshuKxOSIdiegGXBCqoiVVcIw2DWn0HF6h3j9PnKMx0kcnoyjWi5TLAIdV3bqKe5bZgTmCANcj70XFUmkWk7QSxOZQJXEmnm4Zq+aCb8Pc3V+cR3ftxy/dV0+wtrtsaNXAf2lkMDGcSsVTseHksV8VqzDM39pxv95CnhsAKibsQTvIMGfROut37S9+/F+0occXDTnC/lE5EShVNHDF1FQBql4xuBdJxhNDnmLlmipZsqYG4/GySBCVNG1Rhh48RkS8IV73v95D08Be37F3v7Q3vpOK3HTbEfUAwjELsipbOILvyHL33h7V947q39g7N9t2P9iElqZbuA9AgjEEmsvzAvqRIJzrKZhipm0D0QoUS9CY9eXgYBka0BgBrT0bYJKMjjYNO0Y5kVA0ofFBZgGq1gjIatdkRRHpBMUAfFpWa8tpkFFLhiaXwBDFUANpkMvnc4BLmSCv1ExwoSYrJTqbvTCYyqbBp0sEyOi6Aj+C8xdli07EhqnYEMAvTvJZ1IsiL0LwIZQWNQJchoaJRKfjiGmsgoYN6QRipQaTyRiVGkCVzMsKBAWxLBpyCISl/eqPGz+hiPv8b+flLfvxq360neT5/CSbGWc5sqVGL5XzuQLv3H/hfLXX4bNXV9y9186dXfenjaPvP3ce3mzePzzavYcCgbu/6mzvo7e53Vcd/FSWzRV5EsSYLv7DtUJhuvnbhvt8Bb2NN7/2A4dShMssNzXxcZ71WiuL6CB2APeVOomaPp3qrf2L20je5mdPG/WHjdcHgTDOXyvu2y177aAv2UPJe4AHgjf+eWJvPmiubdr1n+1/N+1nD+xbT93Db+0fHnXN4R0sHMsXuRmey8wUJjw2y6h1kwW78mY/IOiCjhrQqhlq6yjDZSgFFF1yrN+27/wRKGLf23APfm/Ut9oB3kXspy9AS1bLWmeRUzMTOX8FhbHcOEuAUXQM0d2IER3XTEchQrCggilfg62izkT1FRYKU5+wHdWeBkM4Zm3etAw8tJOAIXsRnoFSEi2xB8a7AW6ckG/1z+b2sxM3qN+ZpGgm7KV3zzUIRxXyBvEBzfHnPw=="
));
?>
}
else
{
\ No newline at end of file
$add
[
'code'
]
=
200
;
$add
[
'msg'
]
=
'解析成功'
;
$add
[
'from'
]
=
'Q:2579949378'
;
$add
[
'name'
]
=
'蓝莓'
;
$add
[
'url'
]
=
$url
[
1
];
}
echo
json_encode
(
$add
,
456
);
function
curl
(
$url
,
$cookie
=
''
)
{
// 初始化cURL
$curl
=
curl_init
();
// 设置网址
curl_setopt
(
$curl
,
CURLOPT_URL
,
$url
);
// 设置UA
$header
[]
=
'Referer: https://1080p.tv'
;
$header
[]
=
'User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; OPPO R9s Plus Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/55.0.2883.91 Mobile Safari/537.36'
;
// 设置请求头
curl_setopt
(
$curl
,
CURLOPT_HTTPHEADER
,
$header
);
// 设置POST数据
//允许执行的最长秒数 超时时间
curl_setopt
(
$curl
,
CURLOPT_TIMEOUT
,
30
);
// 过SSL验证证书
curl_setopt
(
$curl
,
CURLOPT_SSL_VERIFYPEER
,
false
);
curl_setopt
(
$curl
,
CURLOPT_SSL_VERIFYHOST
,
false
);
// 将头部作为数据流输出
curl_setopt
(
$curl
,
CURLOPT_HEADER
,
false
);
// 设置以变量形式存储返回数据
curl_setopt
(
$curl
,
CURLOPT_RETURNTRANSFER
,
true
);
// 请求并存储数据
$return
=
curl_exec
(
$curl
);
// 分割头部和身体
if
(
curl_getinfo
(
$curl
,
CURLINFO_HTTP_CODE
)
==
'200'
)
{
$return_header_size
=
curl_getinfo
(
$curl
,
CURLINFO_HEADER_SIZE
);
$return_header
=
substr
(
$return
,
0
,
$return_header_size
);
$return_data
=
substr
(
$return
,
$return_header_size
);
}
// 关闭cURL
curl_close
(
$curl
);
// 返回数据
return
$return
;
}
\ No newline at end of file
js/version.txt
浏览文件 @
85f89b82
3.9.15beta3
3.9.15beta4
\ No newline at end of file
\ No newline at end of file
py/php自建解析.py
浏览文件 @
85f89b82
...
@@ -38,5 +38,5 @@ if __name__ == '__main__':
...
@@ -38,5 +38,5 @@ if __name__ == '__main__':
# """
# """
# print(c)
# print(c)
false
=
False
false
=
False
data
=
{
"isBase64Encoded"
:
false
,
"statusCode"
:
200
,
"headers"
:{
"Content-Type"
:
"text\/html; charset=utf-8"
},
"body"
:
"
\n
$DATA = curl('https:\/\/
jx.
80k.tv\/jxplayer.php?v='.$_REQUEST['url']);
\n\n
preg_match('\/src=
\"
(h.*?)
\"
\/',$DATA,$url);
\n\n
if (empty($url[1])) {
\n\t
$add['code'] = 404;
\n\t
$add['msg'] = '解析失败';
\n\t
$add['from'] = 'Q:2579949378';
\n\t
$add['name'] = '蓝莓';
\n
} else {
\n\t
$add['code'] = 200;
\n\t
$add['msg'] = '解析成功';
\n\t
$add['from'] = 'Q:2579949378';
\n\t
$add['name'] = '蓝莓';
\n\t
$add['url'] = $url[1];
\n
}
\n
echo json_encode($add,456);
\n\n
function curl($url, $cookie = '')
\n
{
\n
\/\/ 初始化cURL
\n
$curl = curl_init();
\n
\/\/ 设置网址
\n
curl_setopt($curl, CURLOPT_URL, $url);
\n
\/\/ 设置UA
\n
$header[] = 'Referer: https:\/\/1080p.tv';
\n
$header[] = 'User-Agent: Mozilla\/5.0 (Linux; Android 6.0.1; OPPO R9s Plus Build\/MMB29M; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/55.0.2883.91 Mobile Safari\/537.36';
\n
\/\/ 设置请求头
\n
curl_setopt($curl, CURLOPT_HTTPHEADER, $header);
\n
\/\/ 设置POST数据
\n
\/\/允许执行的最长秒数 超时时间
\n
curl_setopt($curl, CURLOPT_TIMEOUT, 30);
\n
\/\/ 过SSL验证证书
\n
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
\n
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
\n
\/\/ 将头部作为数据流输出
\n
curl_setopt($curl, CURLOPT_HEADER, false);
\n
\/\/ 设置以变量形式存储返回数据
\n
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
\n
\/\/ 请求并存储数据
\n
$return = curl_exec($curl);
\n
\/\/ 分割头部和身体
\n
if (curl_getinfo($curl, CURLINFO_HTTP_CODE) == '200') {
\n
$return_header_size = curl_getinfo($curl, CURLINFO_HEADER_SIZE);
\n
$return_header = substr($return, 0, $return_header_size);
\n
$return_data = substr($return, $return_header_size);
\n
}
\n
\/\/ 关闭cURL
\n
curl_close($curl);
\n
\/\/ 返回数据
\n
return $return;
\n
}
\n
\n
\n
"
}
data
=
{
"isBase64Encoded"
:
false
,
"statusCode"
:
200
,
"headers"
:{
"Content-Type"
:
"text\/html; charset=utf-8"
},
"body"
:
"
\n
$DATA = curl('https:\/\/80k.tv\/jxplayer.php?v='.$_REQUEST['url']);
\n\n
preg_match('\/src=
\"
(h.*?)
\"
\/',$DATA,$url);
\n\n
if (empty($url[1])) {
\n\t
$add['code'] = 404;
\n\t
$add['msg'] = '解析失败';
\n\t
$add['from'] = 'Q:2579949378';
\n\t
$add['name'] = '蓝莓';
\n
} else {
\n\t
$add['code'] = 200;
\n\t
$add['msg'] = '解析成功';
\n\t
$add['from'] = 'Q:2579949378';
\n\t
$add['name'] = '蓝莓';
\n\t
$add['url'] = $url[1];
\n
}
\n
echo json_encode($add,456);
\n\n
function curl($url, $cookie = '')
\n
{
\n
\/\/ 初始化cURL
\n
$curl = curl_init();
\n
\/\/ 设置网址
\n
curl_setopt($curl, CURLOPT_URL, $url);
\n
\/\/ 设置UA
\n
$header[] = 'Referer: https:\/\/1080p.tv';
\n
$header[] = 'User-Agent: Mozilla\/5.0 (Linux; Android 6.0.1; OPPO R9s Plus Build\/MMB29M; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/55.0.2883.91 Mobile Safari\/537.36';
\n
\/\/ 设置请求头
\n
curl_setopt($curl, CURLOPT_HTTPHEADER, $header);
\n
\/\/ 设置POST数据
\n
\/\/允许执行的最长秒数 超时时间
\n
curl_setopt($curl, CURLOPT_TIMEOUT, 30);
\n
\/\/ 过SSL验证证书
\n
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
\n
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
\n
\/\/ 将头部作为数据流输出
\n
curl_setopt($curl, CURLOPT_HEADER, false);
\n
\/\/ 设置以变量形式存储返回数据
\n
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
\n
\/\/ 请求并存储数据
\n
$return = curl_exec($curl);
\n
\/\/ 分割头部和身体
\n
if (curl_getinfo($curl, CURLINFO_HTTP_CODE) == '200') {
\n
$return_header_size = curl_getinfo($curl, CURLINFO_HEADER_SIZE);
\n
$return_header = substr($return, 0, $return_header_size);
\n
$return_data = substr($return, $return_header_size);
\n
}
\n
\/\/ 关闭cURL
\n
curl_close($curl);
\n
\/\/ 返回数据
\n
return $return;
\n
}
\n
\n
\n
"
}
print
(
data
[
'body'
].
replace
(
'\/\/'
,
'//'
).
replace
(
'\/'
,
'/'
))
print
(
data
[
'body'
].
replace
(
'\/\/'
,
'//'
).
replace
(
'\/'
,
'/'
))
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录