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

Add support for mp4 videos

This commit is contained in:
Zed
2019-06-29 07:45:36 +02:00
parent b31338dcc7
commit ff01ab61d1
4 changed files with 62 additions and 51 deletions

View File

@@ -32,15 +32,15 @@ db("cache.db", "", "", ""):
type
VideoType* = enum
vmap, m3u8
vmap, m3u8, mp4
Video* = object
contentType*: VideoType
contentId*: string
playbackType*: VideoType
durationMs*: int
url*: string
thumb*: string
id*: string
views*: string
length*: int
available*: bool
Gif* = object