Spaces:
Paused
Paused
Update run.py
Browse files
run.py
CHANGED
|
@@ -62,7 +62,7 @@ def addon_manifest():
|
|
| 62 |
def root():
|
| 63 |
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"
|
| 64 |
|
| 65 |
-
@app.get('/catalog
|
| 66 |
def addon_catalog(type, id):
|
| 67 |
print(f"Debug: Received request for /catalog/",type,id)
|
| 68 |
if type != "tv":
|
|
@@ -81,7 +81,7 @@ def addon_catalog(type, id):
|
|
| 81 |
print(f"Debug: Returning catalogs: {catalogs}")
|
| 82 |
return respond_with(catalogs)
|
| 83 |
|
| 84 |
-
@app.get('/meta
|
| 85 |
def addon_meta(type, id):
|
| 86 |
if type != "tv":
|
| 87 |
raise HTTPException(status_code=404)
|
|
|
|
| 62 |
def root():
|
| 63 |
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"
|
| 64 |
|
| 65 |
+
@app.get('/catalog/{type}/{id}.json')
|
| 66 |
def addon_catalog(type, id):
|
| 67 |
print(f"Debug: Received request for /catalog/",type,id)
|
| 68 |
if type != "tv":
|
|
|
|
| 81 |
print(f"Debug: Returning catalogs: {catalogs}")
|
| 82 |
return respond_with(catalogs)
|
| 83 |
|
| 84 |
+
@app.get('/meta/{type}/{id}.json')
|
| 85 |
def addon_meta(type, id):
|
| 86 |
if type != "tv":
|
| 87 |
raise HTTPException(status_code=404)
|