Skip to content

Commit 552cd22

Browse files
committed
试试手动合并pr :) 'Shurelol-main'
2 parents 7f0482b + bdf451e commit 552cd22

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

QBRssManager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
qb_client = qbittorrentapi.Client(
3535
host=g.config['qb_api_ip'],
3636
port=g.config['qb_api_port'],
37+
VERIFY_WEBUI_CERTIFICATE=False,
3738
)
3839

3940

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ docker等环境下, 程序可以通过api远程管理qbittorrent
4949

5050
参数说明
5151
`use_qb_api` 启用api通信
52-
`qb_api_ip` qb的ip地址
52+
`qb_api_ip` qb的ip地址,若填写域名,请附上“http://”
5353
`qb_api_port` qb的端口
5454
`qb_api_username` qb的用户名
5555
`qb_api_password` qb的密码

utils/qb_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
def check_qb_port_open(qb_api_ip, qb_api_port):
77
# 检查端口可用性
88
a_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
9+
# 若填写域名则去掉协议名
10+
qb_api_ip = qb_api_ip.replace("https://","")
911
location = (qb_api_ip, int(qb_api_port))
1012
result_of_check = a_socket.connect_ex(location)
1113
if result_of_check == 0:

0 commit comments

Comments
 (0)