From 8f4bb33b74beaf7214a6760617ad349fb82cb104 Mon Sep 17 00:00:00 2001 From: metalune Date: Sat, 12 Mar 2022 23:25:50 +0100 Subject: [PATCH] Add support for /w/SHORTUUID/ type links --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index fbd71b7..a219f60 100644 --- a/main.py +++ b/main.py @@ -404,6 +404,7 @@ async def search(domain, term, page): pages_total=(results["total"] / 10) ) +@app.route("//w//") @app.route("//videos/watch//") async def video(domain, id): data = peertube.video(domain, id)