Potentially a more reliable way to get streams
This commit is contained in:
1 parent
464d436fa8
commit
45c618ccda
2 files changed
+17
-2
No files matched your search
@@ -39,7 +39,11 @@ namespace RokuYoutube.Services.Invidious
|
||||
end if
|
||||
end function
|
||||
|
||||
function GetVideoMetadataForVideo(videoId as string)
|
||||
function GetVideoUrl(videoId as string, itag as string)
|
||||
return `${API_URL}/latest_version?id=${videoId}&itag=${itag}&local=true`
|
||||
end function
|
||||
|
||||
function GetVideoMetadata(videoId as string)
|
||||
url = `${API_URL}${VIDEOS_ENDPOINT}/${videoId}`
|
||||
response = Requests().get(url)
|
||||
|
||||
|
||||
Reference in new issue
Block a user