mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 23:16:47 +00:00
feat: 青蛙辅种插件支持代理
This commit is contained in:
@@ -201,12 +201,13 @@
|
||||
"CrossSeed": {
|
||||
"name": "青蛙辅种助手",
|
||||
"description": "参考ReseedPuppy和IYUU辅种插件实现自动辅种,支持站点:青蛙、AGSVPT、麒麟、UBits、聆音、憨憨等。",
|
||||
"version": "2.2",
|
||||
"version": "2.3",
|
||||
"icon": "qingwa.png",
|
||||
"author": "233@qingwa",
|
||||
"level": 2,
|
||||
"history": {
|
||||
"v2.2": "站点停用后会同步暂停对该站点的辅种"
|
||||
"v2.2": "站点停用后会同步暂停对该站点的辅种",
|
||||
"v2.3": "站点辅种支持代理"
|
||||
}
|
||||
},
|
||||
"VCBAnimeMonitor": {
|
||||
|
||||
@@ -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"
|
||||
# 作者主页
|
||||
|
||||
Reference in New Issue
Block a user