mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[nuevo] Pass headers to _extract_nuevo
This commit is contained in:
		| @@ -10,9 +10,10 @@ from ..utils import ( | ||||
|  | ||||
|  | ||||
| class NuevoBaseIE(InfoExtractor): | ||||
|     def _extract_nuevo(self, config_url, video_id): | ||||
|     def _extract_nuevo(self, config_url, video_id, headers={}): | ||||
|         config = self._download_xml( | ||||
|             config_url, video_id, transform_source=lambda s: s.strip()) | ||||
|             config_url, video_id, transform_source=lambda s: s.strip(), | ||||
|             headers=headers) | ||||
|  | ||||
|         title = xpath_text(config, './title', 'title', fatal=True).strip() | ||||
|         video_id = xpath_text(config, './mediaid', default=video_id) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user