Skip to content

Commit

Permalink
decrease size limit to 20MB
Browse files Browse the repository at this point in the history
  • Loading branch information
birabittoh committed Jan 12, 2024
1 parent d18ac23 commit 86cdbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invidious/invidious.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

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"

Expand Down

0 comments on commit 86cdbff

Please sign in to comment.