Support Niconico Shorts URLs
These just redirect to /watch, at least currently.
This commit is contained in:
parent
c18260ebcb
commit
831b631ee5
1 changed files with 1 additions and 0 deletions
1
app.py
1
app.py
|
|
@ -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")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue