开启爬虫源

This commit is contained in:
xiongxiaoyang 2019-12-23 13:58:51 +08:00
parent 58eb59735e
commit 01d8005507
2 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ crawl:
#爬取的网站名称类型 1笔趣岛 2笔趣塔, 3:顶点 更多网站解析中,敬请期待
biquta:
crawlsource:
enabled: false #是否开启此爬虫源
enabled: true #是否开启此爬虫源
index-url: https://m.biquta.la
list-page-url: https://m.biquta.la/class/{0}/{1}.html
book-url-pattern: href="/(\d+_\d+)/"
@ -25,7 +25,7 @@ biquta:
catalog-pattern: <a\s+style=""\s+href="(/\d+_\d+/\d+\.html)">([^/]+)</a>
biqudao:
crawlsource:
enabled: false #是否开启此爬虫源
enabled: true #是否开启此爬虫源
index-url: https://m.biqudao.com
list-page-url: https://m.biqudao.com/bqgeclass/{0}/{1}.html
book-url-pattern: href="/(bqge\d+)/"
@ -42,7 +42,7 @@ biqudao:
dingdian:
crawlsource:
enabled: false #是否开启此爬虫源
enabled: true #是否开启此爬虫源
index-url: https://wap.dingdiann.com
list-page-url: https://wap.dingdiann.com/sort/{0}/{1}.html
book-url-pattern: href="/(ddk\d+)/"

View File

@ -3,9 +3,9 @@ server:
spring:
datasource:
url: jdbc:mysql://35.236.132.9:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: books
password: 123
url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
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