mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:37:08 -05:00 
			
		
		
		
	[letv] fix height
This commit is contained in:
		@@ -15,6 +15,7 @@ from ..utils import (
 | 
			
		||||
    determine_ext,
 | 
			
		||||
    ExtractorError,
 | 
			
		||||
    parse_iso8601,
 | 
			
		||||
    int_or_none,
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -134,7 +135,7 @@ class LetvIE(InfoExtractor):
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                if format_id[-1:] == 'p':
 | 
			
		||||
                    url_info_dict['height'] = format_id[:-1]
 | 
			
		||||
                    url_info_dict['height'] = int_or_none(format_id[:-1])
 | 
			
		||||
 | 
			
		||||
                urls.append(url_info_dict)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user