mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-30 20:22:00 +00:00 
			
		
		
		
	Fix error message for invalid video ID
This commit is contained in:
		| @@ -701,6 +701,10 @@ def fetch_video(id, proxies, region) | ||||
|     raise "Video unavailable." | ||||
|   end | ||||
|  | ||||
|   if !info["title"]? | ||||
|     raise "Video unavailable." | ||||
|   end | ||||
|  | ||||
|   title = info["title"] | ||||
|   author = info["author"] | ||||
|   ucid = info["ucid"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth