[xtube] Fix formats extraction (closes #24348)
This commit is contained in:
		
							parent
							
								
									4cbce88f8b
								
							
						
					
					
						commit
						4568a11802
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -98,7 +98,7 @@ class XTubeIE(InfoExtractor):
 | 
			
		|||
                title = config.get('title')
 | 
			
		||||
                thumbnail = config.get('poster')
 | 
			
		||||
                duration = int_or_none(config.get('duration'))
 | 
			
		||||
                sources = config.get('sources')
 | 
			
		||||
                sources = config.get('sources') or config.get('format')
 | 
			
		||||
 | 
			
		||||
        if isinstance(sources, dict):
 | 
			
		||||
            sources = self._parse_json(self._search_regex(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue