feat: 增加 HTTP 代理配置,助力爬虫采集

This commit is contained in:
xiongxiaoyang
2022-07-14 22:14:11 +08:00
parent 0b728b9fe5
commit ba272bd89a
6 changed files with 92 additions and 30 deletions

View File

@ -36,4 +36,14 @@ crawl:
content:
save:
storage: db #存储介质db数据库filetxt文本
path: /Users/xiongxiaoyang/books #txt小说文本保存路径
path: /Users/xiongxiaoyang/books #txt小说文本保存路径
# HTTP 代理配置
http:
proxy:
# 是否开启 HTTP 代理true-开启false-不开启
enabled: false
# 代理 IP
ip: u493.kdltps.com
# 代理端口号
port: 15818