File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
parser/src/main/java/cn/qaiu/parser
web-service/src/main/resources Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public enum PanDomainTemplate {
25
25
26
26
// 网盘定义
27
27
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>.+)" ),
29
29
"https://lanzoux.com/{shareKey}" ,
30
30
LzTool .class ),
31
31
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public Future<String> parse() {
51
51
String jsText = getJsByPwd (pwd , html , "document.getElementById('rpt')" );
52
52
ScriptObjectMirror scriptObjectMirror = JsExecUtils .executeDynamicJs (jsText , "down_p" );
53
53
getDownURL (sUrl , client , scriptObjectMirror );
54
- } catch (ScriptException | NoSuchMethodException e ) {
54
+ } catch (Exception e ) {
55
55
fail (e , "js引擎执行失败" );
56
56
}
57
57
} else {
Original file line number Diff line number Diff line change 10
10
<img :height =" 150" src =" ../public/images/lanzou111.png" alt =" lz" ></img >
11
11
</div >
12
12
</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 >
14
14
<div class =" typo" >
15
15
<p style =" text-align : center ;" >
16
16
<span >
Original file line number Diff line number Diff line change @@ -47,7 +47,11 @@ rateLimit:
47
47
48
48
# 数据源配置
49
49
dataSource :
50
+ # PGSQL配置示例
51
+ # jdbcUrl: jdbc:postgresql://localhost:5432/zzzmy
52
+ # MySQL配置示例
50
53
# jdbcUrl: jdbc:mysql://127.0.0.1:3306/nfddata?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
54
+ # 内置数据源H2db配置
51
55
jdbcUrl : jdbc:h2:file:./db/nfdData;MODE=MySQL;DATABASE_TO_UPPER=FALSE
52
56
username : root
53
57
password : ' 123456'
You can’t perform that action at this time.
0 commit comments