Compare commits

...

3 Commits

Author SHA1 Message Date
metalune 8f4bb33b74 Add support for /w/SHORTUUID/ type links 2022-03-12 23:25:50 +01:00
metalune 5a23c4f0b7 Add lxml to requirements.txt 2022-03-12 23:25:35 +01:00
metalune fd03648007 Add quart to requirements.txt 2022-03-12 23:22:11 +01:00
2 changed files with 3 additions and 1 deletions

View File

@ -404,6 +404,7 @@ async def search(domain, term, page):
pages_total=(results["total"] / 10)
)
@app.route("/<string:domain>/w/<string:id>/")
@app.route("/<string:domain>/videos/watch/<string:id>/")
async def video(domain, id):
data = peertube.video(domain, id)

View File

@ -1,3 +1,4 @@
python-dateutil
html2text
quart
lxml