mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[compat] Remove deprecated functions from core code
This commit is contained in:
		| @@ -1,5 +1,6 @@ | ||||
| import urllib.parse | ||||
| 
 | ||||
| from .common import InfoExtractor | ||||
| from ..compat import compat_urlparse | ||||
| 
 | ||||
| 
 | ||||
| class RtmpIE(InfoExtractor): | ||||
| @@ -23,7 +24,7 @@ class RtmpIE(InfoExtractor): | ||||
|             'formats': [{ | ||||
|                 'url': url, | ||||
|                 'ext': 'flv', | ||||
|                 'format_id': compat_urlparse.urlparse(url).scheme, | ||||
|                 'format_id': urllib.parse.urlparse(url).scheme, | ||||
|             }], | ||||
|         } | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan