decrease size limit to 20MB
Marco Andronaco andronacomarco@gmail.com
Fri, 12 Jan 2024 12:02:14 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
invidious/invidious.go
→
invidious/invidious.go
@@ -14,7 +14,7 @@ "github.com/sirupsen/logrus"
) const timeoutDuration = 10 * time.Minute -const maxSizeBytes = 30000000 // 30 MB +const maxSizeBytes = 20000000 // 20 MB const instancesEndpoint = "https://api.invidious.io/instances.json?sort_by=api,type" const videosEndpoint = "https://%s/api/v1/videos/%s?fields=videoId,title,description,author,lengthSeconds,size,formatStreams"