mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-11-01 09:26:45 -07:00 
			
		
		
		
	[sexu] Ensure height is int
This commit is contained in:
		@@ -32,8 +32,9 @@ class SexuIE(InfoExtractor):
 | 
			
		||||
        formats = [{
 | 
			
		||||
            'url': source['file'].replace('\\', ''),
 | 
			
		||||
            'format_id': source.get('label'),
 | 
			
		||||
            'height': self._search_regex(
 | 
			
		||||
                r'^(\d+)[pP]', source.get('label', ''), 'height', default=None),
 | 
			
		||||
            'height': int(self._search_regex(
 | 
			
		||||
                r'^(\d+)[pP]', source.get('label', ''), 'height',
 | 
			
		||||
                default=None)),
 | 
			
		||||
        } for source in sources if source.get('file')]
 | 
			
		||||
        self._sort_formats(formats)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user