mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-30 20:22:00 +00:00 
			
		
		
		
	Fix missing hash key: "toggleButtonRenderer" (issue #3260)
This commit is contained in:
		| @@ -1012,7 +1012,7 @@ def parse_video_info(video_id : String, player_response : Hash(String, JSON::Any | ||||
|  | ||||
|   if toplevel_buttons | ||||
|     likes_button = toplevel_buttons.as_a | ||||
|       .find(&.dig("toggleButtonRenderer", "defaultIcon", "iconType").as_s.== "LIKE") | ||||
|       .find(&.dig?("toggleButtonRenderer", "defaultIcon", "iconType").=== "LIKE") | ||||
|       .try &.["toggleButtonRenderer"] | ||||
|  | ||||
|     if likes_button | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Samantaz Fox
					Samantaz Fox