mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	 christoph-heinrich
					christoph-heinrich
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							7e9a612585
						
					
				
				
					commit
					e121e3cee7
				
			| @@ -216,10 +216,10 @@ class PhantomJSwrapper: | ||||
|             [self.exe, '--ssl-protocol=any', self._TMP_FILES['script'].name], | ||||
|             text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | ||||
|         if returncode: | ||||
|             raise ExtractorError(f'Executing JS failed\n:{stderr}') | ||||
|             raise ExtractorError(f'Executing JS failed:\n{stderr}') | ||||
|         with open(self._TMP_FILES['html'].name, 'rb') as f: | ||||
|             html = f.read().decode('utf-8') | ||||
| 
 | ||||
|         self._load_cookies() | ||||
| 
 | ||||
|         return (html, stdout) | ||||
|         return html, stdout | ||||
|   | ||||
		Reference in New Issue
	
	Block a user