1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-08 04:55:37 -05:00

Add support for "vmap" videos

This commit is contained in:
Zed
2019-06-25 07:37:44 +02:00
parent ac8d0e2052
commit 13dc5efcf6
2 changed files with 28 additions and 10 deletions

View File

@@ -31,12 +31,16 @@ db("cache.db", "", "", ""):
.}: Time
type
VideoType* = enum
vmap, m3u8
Video* = object
id*: string
contentType*: VideoType
url*: string
thumb*: string
length*: int
id*: string
views*: string
length*: int
available*: bool
Gif* = object