Add country code arg for better feed
This commit is contained in:
1 parent
45c618ccda
commit
1c297ff014
3 files changed
+52
-37
No files matched your search
@@ -26,8 +26,9 @@ function GetVideoMetadata()
|
||||
videoMetadata = RokuYoutube.Services.Invidious.GetVideoMetadata(videoId)
|
||||
lastItag = videoMetadata.formatStreams[videoMetadata.formatStreams.Count() - 1].itag
|
||||
|
||||
' GetVideoUrl returns a url with the local=true, leading to less change of rate limit (403) - maybe?
|
||||
' GetVideoUrl returns a url with the local=true, which is proxied through the instance
|
||||
' TODO: is this reliable?
|
||||
' TODO: try direct videos first, before trying proxy, to avoid additional slowdowns
|
||||
videoUrl = RokuYoutube.Services.Invidious.GetVideoUrl(videoId, lastItag)
|
||||
videoMetadata.formatStreams.push({
|
||||
itag: lastItag,
|
||||
|
||||
Reference in new issue
Block a user