Fixed catalogue

This commit is contained in:
UrloMythus
2024-08-27 12:36:04 +02:00 Unverified
parent 6320ef3ab3
commit d4984e71d3
+3 -2
View File
@@ -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/<type>/<id>.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/<type>/<id>.json')
@app.get('/meta/{type}/{id}.json')
def addon_meta(type, id):
if type != "tv":
raise HTTPException(status_code=404)