mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 04:32:02 +00:00 
			
		
		
		
	Fix handling for video content warnings
This commit is contained in:
		| @@ -1179,7 +1179,7 @@ def fetch_video(id, region) | ||||
|     raise "Video unavailable." | ||||
|   end | ||||
|  | ||||
|   if info["reason"]? | ||||
|   if info["reason"]? && !info["player_response"]["videoDetails"]? | ||||
|     raise info["reason"] | ||||
|   end | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth