Fix for proxied/geoblocked videos
This commit is contained in:
1 parent
7c24f36149
commit
215b4f4df2
3 files changed
+34
-8
No files matched your search
@@ -57,8 +57,12 @@ namespace RokuYoutube.Services.Invidious
|
||||
end if
|
||||
end function
|
||||
|
||||
function GetVideoUrl(videoId as string, itag as string)
|
||||
return `${API_URL}/latest_version?id=${videoId}&itag=${itag}&local=true`
|
||||
function GetVideoUrl(videoId as string, itag as string, local as bool)
|
||||
url = `${API_URL}/latest_version?id=${videoId}&itag=${itag}`
|
||||
if local
|
||||
url = url + "&local=true"
|
||||
end if
|
||||
return url
|
||||
end function
|
||||
|
||||
function GetVideoMetadata(videoId as string)
|
||||
|
||||
Reference in new issue
Block a user