Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
夏至溪檐
dr_py
提交
0599c3c6
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,发现更多精彩内容 >>
提交
0599c3c6
编写于
9月 14, 2022
作者:
H
hjdhnx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复join函数,修复蓝莓影视免嗅
上级
b86a2d1c
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
35 addition
and
19 deletion
+35
-19
js/蓝莓影视.js
js/蓝莓影视.js
+0
-0
libs/pre.js
libs/pre.js
+20
-11
py/蓝莓.js
py/蓝莓.js
+13
-6
py/蓝莓.min.js
py/蓝莓.min.js
+2
-2
未找到文件。
js/蓝莓影视.js
浏览文件 @
0599c3c6
此差异已折叠。
点击以展开。
libs/pre.js
浏览文件 @
0599c3c6
...
...
@@ -78,7 +78,8 @@ Object.prototype.myValues=function(obj){
return
res
;
}
Array
.
prototype
.
join
=
function
(
emoji
)
{
emoji
=
emoji
||
'
,
'
;
// emoji = emoji||',';
emoji
=
emoji
||
''
;
let
self
=
this
;
let
str
=
""
;
let
i
=
0
;
...
...
@@ -148,11 +149,8 @@ function setResult(d){
function
maoss
(
jxurl
,
ref
,
key
)
{
eval
(
getCryptoJS
());
try
{
var
getVideoInfo
=
function
(
text
)
{
return
CryptoJS
.
AES
.
decrypt
(
text
,
key
,
{
iv
:
iv
,
padding
:
CryptoJS
.
pad
.
Pkcs7
}).
toString
(
CryptoJS
.
enc
.
Utf8
);
var
getVideoInfo
=
function
(
text
)
{
return
CryptoJS
.
AES
.
decrypt
(
text
,
key
,
{
iv
:
iv
,
padding
:
CryptoJS
.
pad
.
Pkcs7
}).
toString
(
CryptoJS
.
enc
.
Utf8
);
};
var
token_key
=
key
==
undefined
?
'
dvyYRQlnPRCMdQSe
'
:
key
;
if
(
ref
)
{
...
...
@@ -164,6 +162,7 @@ function maoss(jxurl, ref, key) {
}
else
{
var
html
=
request
(
jxurl
);
}
// print(html);
if
(
html
.
indexOf
(
'
&btwaf=
'
)
!=
-
1
)
{
html
=
request
(
jxurl
+
'
&btwaf
'
+
html
.
match
(
/&btwaf
(
.*
?)
"/
)[
1
],
{
headers
:
{
...
...
@@ -176,8 +175,12 @@ function maoss(jxurl, ref, key) {
var
iv
=
CryptoJS
.
enc
.
Utf8
.
parse
(
token_iv
);
// log("iv:"+iv);
// log(html);
// print(key);
// print(iv);
eval
(
html
.
match
(
/var config = {
[\s\S]
*
?
}/
)[
0
]
+
''
);
if
(
config
.
url
.
slice
(
0
,
4
)
!=
'
http
'
)
{
// config.url = config.url.replace(/,/g,'');
// print(config.url);
if
(
!
config
.
url
.
startsWith
(
'
http
'
))
{
//config.url = decodeURIComponent(AES(config.url, key, iv));
config
.
url
=
CryptoJS
.
AES
.
decrypt
(
config
.
url
,
key
,
{
iv
:
iv
,
...
...
@@ -191,18 +194,24 @@ function maoss(jxurl, ref, key) {
}
function
request
(
url
,
obj
){
// obj = obj||{'user-agent': MOBILE_UA};
let
new_obj
;
if
(
typeof
(
fetch_params
)
!==
'
undefined
'
){
obj
=
obj
?
Object
.
assign
(
fetch_params
,
obj
):
fetch_params
;
new_
obj
=
obj
?
Object
.
assign
(
fetch_params
,
obj
):
fetch_params
;
}
else
{
obj
=
obj
||
{}
new_obj
=
obj
||
{}
}
if
(
!
obj
||!
obj
.
headers
||
(
!
obj
.
headers
[
'
User-Agent
'
]
&&!
obj
.
headers
[
'
user-agent
'
])){
new_obj
.
headers
[
'
User-Agent
'
]
=
MOBILE_UA
;
}
// delete new_obj.headers['Referer'];
// print(obj);
if
(
typeof
(
fetch
)
!==
undefined
){
let
html
=
fetch
(
url
,
obj
);
let
html
=
fetch
(
url
,
new_
obj
);
if
(
/
\?
btwaf=/
.
test
(
html
))
{
//宝塔验证
url
=
url
.
split
(
'
#
'
)[
0
]
+
'
?btwaf
'
+
html
.
match
(
/btwaf
(
.*
?)\"
/
)[
1
];
log
(
"
宝塔验证跳转到:
"
+
url
);
html
=
fetch
(
url
,
obj
);
html
=
fetch
(
url
,
new_
obj
);
}
return
html
}
...
...
py/蓝莓.js
浏览文件 @
0599c3c6
...
...
@@ -3,7 +3,7 @@ var MY_HOME='http://lanmeiguojiang.com:5244/d/%E8%93%9D%E8%8E%93%E4%BA%91%E7%9B%
// let headers = d.headers;
// headers['Referer'] = input;
// let fetch_params = {headers:headers,timeout:d.timeout,encoding:d.encoding};
print
(
fetch_params
);
//
print(fetch_params);
let
html
=
fetch
(
input
,
fetch_params
);
var
player
=
JSON
.
parse
(
html
.
match
(
/r player_.*
?
=
(
.*
?)
</
)[
1
]);
var
jsurl
=
player
.
url
;
...
...
@@ -15,15 +15,19 @@ if (player.encrypt == '1') {
}
else
{
jsurl
}
// print(from);
if
(
/ddzy|duoduo/
.
test
(
from
))
{
let
mx
=
fals
e
;
let
mx
=
tru
e
;
if
(
mx
)
{
let
html
=
request
(
MY_HOME
+
'
/pzwj.js
'
);
let
new_obj
=
JSON
.
parse
(
JSON
.
stringify
(
fetch_params
));
delete
new_obj
.
headers
[
'
Referer
'
];
let
html
=
request
(
MY_HOME
+
'
/pzwj.js
'
,
new_obj
);
// print(html);
eval
(
html
);
// print('好了');
var
jx
=
MacPlayerConfig
.
player_list
[
from
].
parse
;
print
(
'
第1次多多解析:
'
,
jx
);
fetch_params
.
headers
[
'
Referer
'
]
=
'
https://www.pipipao.com/
'
;
eval
(
fetch
(
jx
+
jsurl
,
fetch_params
).
match
(
/var config = {
[\s\S]
*
?
}/
)[
0
]);
jx
=
jx
.
replace
(
'
?url=
'
,
''
);
eval
(
fetch
(
jx
+
'
js/decode.js
'
,
fetch_params
));
...
...
@@ -33,8 +37,10 @@ if (/ddzy|duoduo/.test(from)) {
config
.
tm
=
new
Date
().
getTime
();
config
.
sign
=
'
F4penExTGogdt6U8
'
;
//eval(jxk[36])
input
=
getVideoInfo
(
JSON
.
parse
(
fetch
(
buildUrl
(
jx
,
config
),
fetch_params
)).
url
);
// input = input.replace(/,/g,'').slice(2);
}
}
else
{
let
jxurl
=
"
https://lanmeiguojiang.com/dd/?url=
"
+
jsurl
;
input
=
maoss
(
jxurl
,
jxurl
,
"
A42EAC0C2B408472
"
);
}
else
if
(
from
===
'
ziqie
'
){
let
jxurl
=
"
https://lanmeiguojiang.com/dd/?url=
"
+
jsurl
;
// print(jxurl);
input
=
maoss
(
jxurl
,
jxurl
,
"
A42EAC0C2B408472
"
)
}
\ No newline at end of file
py/蓝莓.min.js
浏览文件 @
0599c3c6
js
:
var
MY_HOME
=
"
http://lanmeiguojiang.com:5244/d/%E8%93%9D%E8%8E%93%E4%BA%91%E7%9B%98
"
;
print
(
fetch_params
);
let
html
=
fetch
(
input
,
fetch_params
);
var
player
=
JSON
.
parse
(
html
.
match
(
/r player_.*
?
=
(
.*
?)
</
)[
1
]);
var
jsurl
=
player
.
url
;
var
from
=
player
.
from
;
if
(
player
.
encrypt
==
"
1
"
){
var
jsurl
=
unescape
(
jsurl
)}
else
if
(
player
.
encrypt
==
"
2
"
){
var
jsurl
=
unescape
(
base64Decode
(
jsurl
))}
else
{
jsurl
}
if
(
/ddzy|duoduo/
.
test
(
from
)){
let
mx
=
false
;
if
(
mx
){
let
html
=
request
(
MY_HOME
+
"
/pzwj.js
"
);
eval
(
html
);
var
jx
=
MacPlayerConfig
.
player_list
[
from
].
parse
;
print
(
"
第1次多多解析:
"
,
jx
);
eval
(
fetch
(
jx
+
jsurl
,
fetch_params
).
match
(
/var config = {
[\s\S]
*
?
}/
)[
0
]);
jx
=
jx
.
replace
(
"
?url=
"
,
""
);
eval
(
fetch
(
jx
+
"
js/decode.js
"
,
fetch_params
));
jxk
=
fetch
(
jx
+
"
js/setting.js
"
,
fetch_params
).
split
(
"
,
"
);
jx
+=
"
555tZ4pvzHE3BpiO838.php
"
;
print
(
"
第2次多多解析:
"
,
jx
);
config
.
tm
=
(
new
Date
).
getTime
();
config
.
sign
=
"
F4penExTGogdt6U8
"
;
input
=
getVideoInfo
(
JSON
.
parse
(
fetch
(
buildUrl
(
jx
,
config
),
fetch_params
)).
url
)}}
else
{
let
jxurl
=
"
https://lanmeiguojiang.com/dd/?url=
"
+
jsurl
;
input
=
maoss
(
jxurl
,
jxurl
,
"
A42EAC0C2B408472
"
)}
\ No newline at end of file
js
:
var
MY_HOME
=
"
http://lanmeiguojiang.com:5244/d/%E8%93%9D%E8%8E%93%E4%BA%91%E7%9B%98
"
;
let
html
=
fetch
(
input
,
fetch_params
);
var
player
=
JSON
.
parse
(
html
.
match
(
/r player_.*
?
=
(
.*
?)
</
)[
1
]);
var
jsurl
=
player
.
url
;
var
from
=
player
.
from
;
if
(
player
.
encrypt
==
"
1
"
){
var
jsurl
=
unescape
(
jsurl
)}
else
if
(
player
.
encrypt
==
"
2
"
){
var
jsurl
=
unescape
(
base64Decode
(
jsurl
))}
else
{
jsurl
}
if
(
/ddzy|duoduo/
.
test
(
from
)){
let
mx
=
true
;
if
(
mx
){
let
new_obj
=
JSON
.
parse
(
JSON
.
stringify
(
fetch_params
));
delete
new_obj
.
headers
[
"
Referer
"
];
let
html
=
request
(
MY_HOME
+
"
/pzwj.js
"
,
new_obj
);
eval
(
html
);
var
jx
=
MacPlayerConfig
.
player_list
[
from
].
parse
;
print
(
"
第1次多多解析:
"
,
jx
);
fetch_params
.
headers
[
"
Referer
"
]
=
"
https://www.pipipao.com/
"
;
eval
(
fetch
(
jx
+
jsurl
,
fetch_params
).
match
(
/var config = {
[\s\S]
*
?
}/
)[
0
]);
jx
=
jx
.
replace
(
"
?url=
"
,
""
);
eval
(
fetch
(
jx
+
"
js/decode.js
"
,
fetch_params
));
jxk
=
fetch
(
jx
+
"
js/setting.js
"
,
fetch_params
).
split
(
"
,
"
);
jx
+=
"
555tZ4pvzHE3BpiO838.php
"
;
print
(
"
第2次多多解析:
"
,
jx
);
config
.
tm
=
(
new
Date
).
getTime
();
config
.
sign
=
"
F4penExTGogdt6U8
"
;
input
=
getVideoInfo
(
JSON
.
parse
(
fetch
(
buildUrl
(
jx
,
config
),
fetch_params
)).
url
)}}
else
if
(
from
===
"
ziqie
"
){
let
jxurl
=
"
https://lanmeiguojiang.com/dd/?url=
"
+
jsurl
;
input
=
maoss
(
jxurl
,
jxurl
,
"
A42EAC0C2B408472
"
)}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录