This commit is contained in:
jxxghp 2023-11-21 21:20:02 +08:00
parent fb39500428
commit 10ad9a5601
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ class Settings(BaseSettings):
# 大内存模式
BIG_MEMORY_MODE: bool = False
# 插件市场仓库地址,多个地址使用,分隔,地址以/结尾
PLUGIN_MARKET: str = "https://raw.githubusercontent.com/jxxghp/MoviePilot-Plugins/main/"
PLUGIN_MARKET: str = "https://github.com/jxxghp/MoviePilot-Plugins/"
# Github token提高请求api限流阈值 ghp_****
GITHUB_TOKEN: str = None
# 自动检查和更新站点资源包(站点索引、认证等)

View File

@ -45,7 +45,7 @@ class PluginHelper(metaclass=Singleton):
if not repo_url:
return None, None
try:
user, repo = repo_url.split("/")[-4:-2]
user, repo = repo_url.split("/")[-3:-1]
except Exception as e:
print(str(e))
return None, None