diff --git a/app/core/config.py b/app/core/config.py index 7dbbf97e..a3c8fcfe 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -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 # 自动检查和更新站点资源包(站点索引、认证等) diff --git a/app/helper/plugin.py b/app/helper/plugin.py index a24e9123..baf102db 100644 --- a/app/helper/plugin.py +++ b/app/helper/plugin.py @@ -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