爬虫代码重构,增加可维护性

This commit is contained in:
xiongxiaoyang
2019-12-12 11:37:21 +08:00
parent be3cf1bb91
commit 64f6dc393e
15 changed files with 644 additions and 623 deletions

View File

@@ -4,8 +4,8 @@ server:
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: books
password: books
username: root
password: test123456
# url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
# username: root
# password: test123456
@@ -39,6 +39,8 @@ spring:
port: 465
class: javax.net.ssl.SSLSocketFactory
fallback: false
profiles:
include: crawl