mirror of
				https://gitea.invidious.io/iv-org/invidious
				synced 2025-06-05 23:29:12 +02:00 
			
		
		
		
	Fix captions regex
This commit is contained in:
		| @@ -136,7 +136,7 @@ module Invidious::Routes::API::V1::Videos | ||||
|       # | ||||
|       # See: https://github.com/iv-org/invidious/issues/2391 | ||||
|       webvtt = YT_POOL.client &.get("#{url}&format=vtt").body | ||||
|         .gsub(/([0-9:.]+ --> [0-9:.]+).+/, "\\1") | ||||
|         .gsub(/([0-9:.]{12} --> [0-9:.]{12}).+/, "\\1") | ||||
|     end | ||||
|  | ||||
|     if title = env.params.query["title"]? | ||||
|   | ||||
		Reference in New Issue
	
	Block a user