From d4984e71d3454716af31ed7b6d32563dfb5dca81 Mon Sep 17 00:00:00 2001 From: UrloMythus Date: Tue, 27 Aug 2024 12:36:04 +0200 Subject: [PATCH] Fixed catalogue --- run.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index e7ebd31..06c8473 100644 --- a/run.py +++ b/run.py @@ -62,8 +62,9 @@ def addon_manifest(): def root(): return "Hello, this is a Stremio Addon providing HTTPS Stream for Italian Movies/Series, to install it add /manifest.json to the url and then add it into the Stremio search bar" -@app.get('/catalog//.json') +@app.get('/catalog/{type}/{id}.json') def addon_catalog(type, id): + print("STA ANDANDO TUTTO MALE") if type != "tv": raise HTTPException(status_code=404) @@ -79,7 +80,7 @@ def addon_catalog(type, id): return respond_with(catalogs) -@app.get('/meta//.json') +@app.get('/meta/{type}/{id}.json') def addon_meta(type, id): if type != "tv": raise HTTPException(status_code=404)