Skip to content

Commit f30027d

Browse files
committed
1. 蓝奏云域名适配
1 parent 8b6aad1 commit f30027d

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

parser/src/main/java/cn/qaiu/parser/PanDomainTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public enum PanDomainTemplate {
2525

2626
// 网盘定义
2727
LZ("蓝奏云",
28-
compile("https://(?:[a-zA-Z\\d-]+\\.)?lanzou[a-z]\\.com/(.+/)?(?<KEY>.+)"),
28+
compile("https://(?:[a-zA-Z\\d-]+\\.)?((lanzou[a-z])|(lanzn))\\.com/(.+/)?(?<KEY>.+)"),
2929
"https://lanzoux.com/{shareKey}",
3030
LzTool.class),
3131

parser/src/main/java/cn/qaiu/parser/impl/LzTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public Future<String> parse() {
5151
String jsText = getJsByPwd(pwd, html, "document.getElementById('rpt')");
5252
ScriptObjectMirror scriptObjectMirror = JsExecUtils.executeDynamicJs(jsText, "down_p");
5353
getDownURL(sUrl, client, scriptObjectMirror);
54-
} catch (ScriptException | NoSuchMethodException e) {
54+
} catch (Exception e) {
5555
fail(e, "js引擎执行失败");
5656
}
5757
} else {

web-front/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<img :height="150" src="../public/images/lanzou111.png" alt="lz"></img>
1111
</div>
1212
</div>
13-
<h3 style="text-align: center;">NFD网盘直链解析0.1.8_bate31</h3>
13+
<h3 style="text-align: center;">NFD网盘直链解析0.1.8_bate32</h3>
1414
<div class="typo">
1515
<p style="text-align: center;">
1616
<span>

web-service/src/main/resources/app-dev.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ rateLimit:
4747

4848
# 数据源配置
4949
dataSource:
50+
# PGSQL配置示例
51+
#jdbcUrl: jdbc:postgresql://localhost:5432/zzzmy
52+
# MySQL配置示例
5053
#jdbcUrl: jdbc:mysql://127.0.0.1:3306/nfddata?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
54+
# 内置数据源H2db配置
5155
jdbcUrl: jdbc:h2:file:./db/nfdData;MODE=MySQL;DATABASE_TO_UPPER=FALSE
5256
username: root
5357
password: '123456'

0 commit comments

Comments
 (0)