mirror of
				https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
				synced 2024-08-15 00:53:38 +00:00 
			
		
		
		
	Format source
This commit is contained in:
		
							parent
							
								
									46a737c7a1
								
							
						
					
					
						commit
						159b4f9734
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -4623,7 +4623,7 @@ end
 | 
				
			||||||
    if format == "html"
 | 
					    if format == "html"
 | 
				
			||||||
      response = JSON.parse(response)
 | 
					      response = JSON.parse(response)
 | 
				
			||||||
      playlist_html = template_playlist(response)
 | 
					      playlist_html = template_playlist(response)
 | 
				
			||||||
      index, next_video = response["videos"].as_a.skip(1).select { |video| !video["author"].as_s.empty? }[0]?.try {|v| {v["index"], v["videoId"] } } || {nil, nil}
 | 
					      index, next_video = response["videos"].as_a.skip(1).select { |video| !video["author"].as_s.empty? }[0]?.try { |v| {v["index"], v["videoId"]} } || {nil, nil}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      response = {
 | 
					      response = {
 | 
				
			||||||
        "playlistHtml" => playlist_html,
 | 
					        "playlistHtml" => playlist_html,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue