mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[cleanup] Mark some compat variables for removal (#2173)
Authored by fstirlitz, pukkandan
This commit is contained in:
		| @@ -6,7 +6,6 @@ import re | ||||
| from .common import InfoExtractor | ||||
| from ..compat import ( | ||||
|     compat_str, | ||||
|     compat_xpath, | ||||
| ) | ||||
| from ..utils import ( | ||||
|     ExtractorError, | ||||
| @@ -167,9 +166,9 @@ class MTVServicesInfoExtractor(InfoExtractor): | ||||
|                 itemdoc, './/{http://search.yahoo.com/mrss/}category', | ||||
|                 'scheme', 'urn:mtvn:video_title') | ||||
|         if title_el is None: | ||||
|             title_el = itemdoc.find(compat_xpath('.//{http://search.yahoo.com/mrss/}title')) | ||||
|             title_el = itemdoc.find('.//{http://search.yahoo.com/mrss/}title') | ||||
|         if title_el is None: | ||||
|             title_el = itemdoc.find(compat_xpath('.//title')) | ||||
|             title_el = itemdoc.find('.//title') | ||||
|             if title_el.text is None: | ||||
|                 title_el = None | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan