feat: 青蛙辅种插件支持代理

This commit is contained in:
ljmeng
2024-04-24 00:31:40 +08:00
parent 899a96eaae
commit 2af3339477
2 changed files with 9 additions and 4 deletions

View File

@@ -154,7 +154,11 @@ class CrossSeedHelper(object):
remote_torrent_infos = []
try:
response = requests.post(
site.get_api_url(), headers=headers, json=data, timeout=10
site.get_api_url(),
headers=headers,
json=data,
timeout=10,
proxies=settings.PROXY if site.proxy else None,
)
response.raise_for_status()
rsp_body = response.json()
@@ -177,7 +181,7 @@ class CrossSeed(_PluginBase):
# 插件图标
plugin_icon = "qingwa.png"
# 插件版本
plugin_version = "2.2"
plugin_version = "2.3"
# 插件作者
plugin_author = "233@qingwa"
# 作者主页