✨ Streaming enabled using v.mp4 link
This commit is contained in:
parent
0c4f8130f6
commit
23e291318b
|
@ -30,6 +30,8 @@ async def setup_routes(app, handler):
|
|||
web.get(p + r"/{id:\d+}/download", h.download_get),
|
||||
web.head(p + r"/{id:\d+}/download", h.download_head),
|
||||
web.get(p + r"/{id:\d+}/thumbnail", h.thumbnail_get),
|
||||
web.get(p + r"/{id:\d+}/v.mp4", h.download_get),
|
||||
web.head(p + r"/{id:\d+}/v.mp4", h.download_head),
|
||||
]
|
||||
if index_all:
|
||||
# print(await client.get_dialogs())
|
||||
|
|
Loading…
Reference in New Issue