[skip ci] small fixes
This commit is contained in:
1 parent
51b2f7793a
commit
10f9d1bf05
2 files changed
+6
-3
No files matched your search
@@ -75,7 +75,6 @@ namespace Innertube
|
||||
"videoId": videoDetails["videoId"]
|
||||
"videoThumbnails": videoDetails["thumbnail"]["thumbnails"]
|
||||
"storyboards": ParseStoryboards(payload, lengthSeconds)
|
||||
"viewCount": videoDetails["viewCount"].ToInt()
|
||||
"author": videoDetails["author"]
|
||||
"authorId": videoDetails["channelId"]
|
||||
"lengthSeconds": lengthSeconds
|
||||
@@ -87,6 +86,10 @@ namespace Innertube
|
||||
"recommendedVideos": []
|
||||
}
|
||||
|
||||
if videoDetails.DoesExist("viewCount")
|
||||
videoInfo["viewCount"] = videoDetails["viewCount"].ToInt()
|
||||
end if
|
||||
|
||||
return videoInfo
|
||||
end function
|
||||
|
||||
|
||||
Reference in new issue
Block a user