Streaming enabled using v.mp4 link

This commit is contained in:
Rayan fernandes 2021-06-12 21:00:52 +05:30
parent 0c4f8130f6
commit 23e291318b
1 changed files with 2 additions and 0 deletions

View File

@ -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())