[youtube] Improve signature cipher extraction (closes #25188)
This commit is contained in:
		
							parent
							
								
									30fa5c6087
								
							
						
					
					
						commit
						fa3db38333
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1966,7 +1966,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
 | 
			
		|||
                url = url_or_none(fmt.get('url'))
 | 
			
		||||
 | 
			
		||||
                if not url:
 | 
			
		||||
                    cipher = fmt.get('cipher')
 | 
			
		||||
                    cipher = fmt.get('cipher') or fmt.get('signatureCipher')
 | 
			
		||||
                    if not cipher:
 | 
			
		||||
                        continue
 | 
			
		||||
                    url_data = compat_parse_qs(cipher)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue