mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[mtv] Improve thumbnal extraction
This commit is contained in:
		| @@ -50,8 +50,7 @@ class MTVServicesInfoExtractor(InfoExtractor): | ||||
|         thumb_node = itemdoc.find(search_path) | ||||
|         if thumb_node is None: | ||||
|             return None | ||||
|         else: | ||||
|             return thumb_node.attrib['url'] | ||||
|         return thumb_node.get('url') or thumb_node.text or None | ||||
|  | ||||
|     def _extract_mobile_video_formats(self, mtvn_id): | ||||
|         webpage_url = self._MOBILE_TEMPLATE % mtvn_id | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․