We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 505a81d + b58b044 commit b417ea8Copy full SHA for b417ea8
src/invidious/routes/api/v1/videos.cr
@@ -136,7 +136,7 @@ module Invidious::Routes::API::V1::Videos
136
#
137
# See: https://github.com/iv-org/invidious/issues/2391
138
webvtt = YT_POOL.client &.get("#{url}&format=vtt").body
139
- .gsub(/([0-9:.]+ --> [0-9:.]+).+/, "\\1")
+ .gsub(/([0-9:.]{12} --> [0-9:.]{12}).+/, "\\1")
140
end
141
142
if title = env.params.query["title"]?
0 commit comments