Support Niconico Shorts URLs

These just redirect to /watch, at least currently.
This commit is contained in:
MMaker 2026-04-16 12:17:51 -04:00
commit 831b631ee5
Signed by: mmaker
GPG key ID: CCE79B8FEDA40FB2

1
app.py
View file

@ -280,6 +280,7 @@ def get_oembed_url(params):
@app.route("/watch/<video_id>") @app.route("/watch/<video_id>")
@app.route("/shorts/<video_id>")
def proxy(video_id): def proxy(video_id):
logger.info(f"{video_id}: Received request") logger.info(f"{video_id}: Received request")