[skip ci] tweak player response parsing
This commit is contained in:
1 parent
7f58809737
commit
c5146017a8
5 files changed
+22
-24
No files matched your search
@@ -119,10 +119,6 @@ namespace Innertube
|
||||
parsedResponse["formatStreams"] = formats
|
||||
parsedResponse["captions"] = ParseCaptions(payload)
|
||||
|
||||
if not IsArray(parsedResponse["recommendedVideos"])
|
||||
parsedResponse["recommendedVideos"] = []
|
||||
end if
|
||||
|
||||
if not StringUtils.IsNullOrEmpty(videoDetails["title"])
|
||||
parsedResponse["title"] = videoDetails["title"]
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user