mirror of
				https://gitea.invidious.io/iv-org/invidious
				synced 2025-06-05 23:29:12 +02:00 
			
		
		
		
	Fix livestream parsing URLs (#2356)
This commit is contained in:
		| @@ -3150,7 +3150,7 @@ get "/api/manifest/hls_playlist/*" do |env| | ||||
|   manifest = response.body | ||||
|  | ||||
|   if local | ||||
|     manifest = manifest.gsub(/^https:\/\/r\d---.{11}\.c\.youtube\.com[^\n]*/m) do |match| | ||||
|     manifest = manifest.gsub(/^https:\/\/\w+---.{11}\.c\.youtube\.com[^\n]*/m) do |match| | ||||
|       path = URI.parse(match).path | ||||
|  | ||||
|       path = path.lchop("/videoplayback/") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user