mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-16 12:23:03 +00:00
1. 蓝奏云域名适配
This commit is contained in:
@@ -25,7 +25,7 @@ public enum PanDomainTemplate {
|
|||||||
|
|
||||||
// 网盘定义
|
// 网盘定义
|
||||||
LZ("蓝奏云",
|
LZ("蓝奏云",
|
||||||
compile("https://(?:[a-zA-Z\\d-]+\\.)?lanzou[a-z]\\.com/(.+/)?(?<KEY>.+)"),
|
compile("https://(?:[a-zA-Z\\d-]+\\.)?((lanzou[a-z])|(lanzn))\\.com/(.+/)?(?<KEY>.+)"),
|
||||||
"https://lanzoux.com/{shareKey}",
|
"https://lanzoux.com/{shareKey}",
|
||||||
LzTool.class),
|
LzTool.class),
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ public class LzTool extends PanBase {
|
|||||||
String jsText = getJsByPwd(pwd, html, "document.getElementById('rpt')");
|
String jsText = getJsByPwd(pwd, html, "document.getElementById('rpt')");
|
||||||
ScriptObjectMirror scriptObjectMirror = JsExecUtils.executeDynamicJs(jsText, "down_p");
|
ScriptObjectMirror scriptObjectMirror = JsExecUtils.executeDynamicJs(jsText, "down_p");
|
||||||
getDownURL(sUrl, client, scriptObjectMirror);
|
getDownURL(sUrl, client, scriptObjectMirror);
|
||||||
} catch (ScriptException | NoSuchMethodException e) {
|
} catch (Exception e) {
|
||||||
fail(e, "js引擎执行失败");
|
fail(e, "js引擎执行失败");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<img :height="150" src="../public/images/lanzou111.png" alt="lz"></img>
|
<img :height="150" src="../public/images/lanzou111.png" alt="lz"></img>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 style="text-align: center;">NFD网盘直链解析0.1.8_bate31</h3>
|
<h3 style="text-align: center;">NFD网盘直链解析0.1.8_bate32</h3>
|
||||||
<div class="typo">
|
<div class="typo">
|
||||||
<p style="text-align: center;">
|
<p style="text-align: center;">
|
||||||
<span>
|
<span>
|
||||||
|
|||||||
@@ -47,7 +47,11 @@ rateLimit:
|
|||||||
|
|
||||||
# 数据源配置
|
# 数据源配置
|
||||||
dataSource:
|
dataSource:
|
||||||
|
# PGSQL配置示例
|
||||||
|
#jdbcUrl: jdbc:postgresql://localhost:5432/zzzmy
|
||||||
|
# MySQL配置示例
|
||||||
#jdbcUrl: jdbc:mysql://127.0.0.1:3306/nfddata?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
|
#jdbcUrl: jdbc:mysql://127.0.0.1:3306/nfddata?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
|
||||||
|
# 内置数据源H2db配置
|
||||||
jdbcUrl: jdbc:h2:file:./db/nfdData;MODE=MySQL;DATABASE_TO_UPPER=FALSE
|
jdbcUrl: jdbc:h2:file:./db/nfdData;MODE=MySQL;DATABASE_TO_UPPER=FALSE
|
||||||
username: root
|
username: root
|
||||||
password: '123456'
|
password: '123456'
|
||||||
|
|||||||
Reference in New Issue
Block a user